simplified install package logic
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Tobias Trabelsi 2021-06-28 21:24:51 +02:00
parent 553486f41f
commit 1b3337d422
Signed by: lerentis
GPG Key ID: FF0C2839718CAF2E
2 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,4 @@
---
install: false
install: true
package_list:
- "apt"

View File

@ -28,10 +28,8 @@
- name: install packages
become: yes
apt:
name: "{{ item }}"
name: "{{ package_list | list }}"
state: present
with_items:
- "{{ package_list }}"
when: install and ansible_os_family == "Debian"
- name: Check if a reboot is required