Kris Lamoureux
f1917f6a40
Moved Ansible host requirements to 'ansible' role and created role 'upgrade' and playbook to help with upgrading containers.
17 lines
404 B
YAML
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
|