Packer.Images/ansible/roles/os/tasks/packages.yml
djpbessems 4ea138fd69
Some checks failed
continuous-integration/drone/push Build is failing
Extend ansible roles #2
2021-06-08 21:56:06 +02:00

16 lines
331 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:
autoclean: yes
autoremove: yes