Packer.Images/ansible/roles/os/tasks/packages.yml

18 lines
334 B
YAML
Raw Normal View History

2021-06-08 19:27:08 +00:00
- name: Install additional packages
ansible.builtin.apt:
pkg: "{{ packages }}"
2021-06-08 19:27:08 +00:00
state: latest
update_cache: yes
install_recommends: no
2022-06-25 06:49:53 +00:00
2021-06-08 19:56:06 +00:00
- name: Upgrade all packages
ansible.builtin.apt:
name: '*'
2021-06-08 19:56:06 +00:00
state: latest
update_cache: yes
2022-06-25 06:49:53 +00:00
2021-06-08 19:56:06 +00:00
- name: Cleanup
ansible.builtin.apt:
autoremove: yes
2021-06-11 12:44:43 +00:00
purge: yes