From c610fabe5bd09025c13c2a9ab7e4990bd8ef2973 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 31 Aug 2023 16:19:24 +0200 Subject: apt_extra_packages -> apt_packages --- roles/apt/defaults/main.yml | 2 +- roles/apt/tasks/main.yml | 4 ++-- roles/debian_cloud_server/meta/main.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'roles') 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 diff --git a/roles/debian_cloud_server/meta/main.yml b/roles/debian_cloud_server/meta/main.yml index 65a5821..71d1bc2 100644 --- a/roles/debian_cloud_server/meta/main.yml +++ b/roles/debian_cloud_server/meta/main.yml @@ -2,7 +2,7 @@ dependencies: - role: cloud_init_wait - role: apt vars: - apt_extra_packages: '{{ debian_cloud_server_packages }}' + apt_packages: '{{ debian_cloud_server_packages }}' apt_unattended: true - role: sshd - role: firewall -- cgit v1.2.3