diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-09-13 16:20:23 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-09-13 16:20:23 +0200 |
commit | 51c9e2e956a3b7cf61c09584b318bde76ff07503 (patch) | |
tree | 3536ca6fcd855e748cac3e722b638c57feb34f12 /roles/apt/tasks | |
parent | pacman: add a parameter to install additional packages (diff) | |
download | infra-ansible-51c9e2e956a3b7cf61c09584b318bde76ff07503.tar.gz infra-ansible-51c9e2e956a3b7cf61c09584b318bde76ff07503.zip |
apt: the extra packages are optional
Diffstat (limited to '')
-rw-r--r-- | roles/apt/tasks/main.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/apt/tasks/main.yml b/roles/apt/tasks/main.yml index 530519d..b9bb12b 100644 --- a/roles/apt/tasks/main.yml +++ b/roles/apt/tasks/main.yml @@ -22,6 +22,7 @@ name: '{{ apt_packages }}' state: present install_recommends: false + when: apt_packages | length > 0 - name: Configure unattended-upgrades ansible.builtin.include_tasks: unattended_upgrades.yml |