Packer.Images/ansible/roles/os/tasks/packages.yml
Danny Bessems c48f27c42e
Some checks failed
continuous-integration/drone/push Build is failing
Rebase pip packages
2022-08-03 13:53:54 +02:00

23 lines
454 B
YAML

- name: Install additional packages
ansible.builtin.apt:
pkg: "{{ packages.apt }}"
state: latest
update_cache: yes
install_recommends: no
- name: Upgrade all packages
ansible.builtin.apt:
name: '*'
state: latest
update_cache: yes
- name: Install additional python packages
ansible.builtin.pip:
name: "{{ packages.pip }}"
state: latest
- name: Cleanup
ansible.builtin.apt:
autoremove: yes
purge: yes