homelab/roles/ansible/tasks/main.yml
Kris Lamoureux f1917f6a40
Playbook to upgrade containers
Moved Ansible host requirements to 'ansible' role and created role
'upgrade' and playbook to help with upgrading containers.
2019-12-14 23:24:49 -05:00

17 lines
404 B
YAML

- name: 'Install Ansible dependency: python-apt'
shell: 'apt-get update && apt-get install python-apt -y'
args:
creates: /usr/lib/python2.7/dist-packages/apt
warn: false
- name: 'Install Ansible dependency: aptitude'
apt:
name: 'aptitude'
state: present
force_apt_get: true
- name: 'Install Ansible dependency: python-docker'
apt:
name: python-docker
state: present