xoxys.docker_engine/tasks/install.yml
Robert Kaussow 7ad53e56eb
All checks were successful
continuous-integration/drone/push Build is passing
deploy wrapper script to /usr/local/bin
2020-06-29 09:04:49 +02:00

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