homelab/roles/base/tasks/ansible.yml

16 lines
371 B
YAML
Raw Normal View History

- name: 'Install Ansible dependency: python3-apt'
shell: 'apt-get update && apt-get install python3-apt -y'
args:
creates: /usr/lib/python3/dist-packages/apt
warn: false
2020-07-10 01:54:15 +00:00
- name: Install additional Ansible dependencies
apt:
2020-07-10 01:54:15 +00:00
name: "{{ item }}"
state: present
force_apt_get: true
update_cache: true
2020-07-10 01:54:15 +00:00
loop:
- aptitude
- python3-docker