diff options
Diffstat (limited to '')
-rw-r--r-- | roles/apt/defaults/main.yml | 2 | ||||
-rw-r--r-- | roles/apt/tasks/main.yml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/roles/apt/defaults/main.yml b/roles/apt/defaults/main.yml index c29a406..900172f 100644 --- a/roles/apt/defaults/main.yml +++ b/roles/apt/defaults/main.yml @@ -1,4 +1,4 @@ -apt_extra_packages: [] +apt_packages: [] apt_unattended: false apt_unattended_reboot: true apt_unattended_reboot_time: "02:00" diff --git a/roles/apt/tasks/main.yml b/roles/apt/tasks/main.yml index be4ab8e..415ff8d 100644 --- a/roles/apt/tasks/main.yml +++ b/roles/apt/tasks/main.yml @@ -19,11 +19,11 @@ - name: Reboot if necessary ansible.builtin.meta: flush_handlers -- name: Install extra packages +- name: Install packages become: true ansible.builtin.apt: install_recommends: false - name: '{{ apt_extra_packages }}' + name: '{{ apt_packages }}' state: present - name: Configure unattended-upgrades |