30 lines
682 B
YAML
30 lines
682 B
YAML
---
|
|
- block:
|
|
- name: Install dependencies
|
|
package:
|
|
name: "{{ item }}"
|
|
state: present
|
|
loop: "{{ dockerengine_packages_extra }}"
|
|
|
|
- name: Install python dependencies
|
|
pip:
|
|
name: "{{ item }}"
|
|
virtualenv: /opt/python2/ansible-deps
|
|
loop: "{{ __docker_ansible_deps }}"
|
|
|
|
- name: Add docker-compose wrapper
|
|
template:
|
|
src: bin/docker-compose.j2
|
|
dest: /bin/docker-compose
|
|
owner: root
|
|
group: root
|
|
mode: 0755
|
|
|
|
- name: Install packages
|
|
package:
|
|
name: "{{ item }}"
|
|
state: present
|
|
loop: "{{ dockerengine_packages }}"
|
|
become: True
|
|
become_user: root
|