Robert Kaussow
7ad53e56eb
All checks were successful
continuous-integration/drone/push Build is passing
30 lines
692 B
YAML
30 lines
692 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: /usr/local/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
|