diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-31 16:19:24 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-31 16:19:24 +0200 |
commit | c610fabe5bd09025c13c2a9ab7e4990bd8ef2973 (patch) | |
tree | 52b807f23707e319941e49312abb1f1909711903 /roles/apt | |
parent | apt: unattended upgrades off by default (diff) | |
download | infra-ansible-c610fabe5bd09025c13c2a9ab7e4990bd8ef2973.tar.gz infra-ansible-c610fabe5bd09025c13c2a9ab7e4990bd8ef2973.zip |
apt_extra_packages -> apt_packages
Diffstat (limited to 'roles/apt')
-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 |