2020-01-17 05:46:06 +00:00
|
|
|
- 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
|
2020-01-19 07:03:43 +00:00
|
|
|
|
|
|
|
- name: Create Ansible's temporary directory
|
|
|
|
file:
|
|
|
|
path: /root/.ansible/tmp
|
|
|
|
state: directory
|
|
|
|
mode: '0700'
|