Packer.Images/ansible/roles/os/tasks/packages.yml
djpbessems cd448a0af3
Some checks failed
continuous-integration/drone/push Build is failing
Disable login during deployment
2021-06-11 14:44:43 +02:00

16 lines
327 B
YAML

- name: Install additional packages
ansible.builtin.apt:
name: "{{ item }}"
state: latest
update_cache: yes
loop: "{{ packages }}"
- name: Upgrade all packages
ansible.builtin.apt:
name: "*"
state: latest
update_cache: yes
- name: Cleanup
ansible.builtin.apt:
autoremove: yes
purge: yes