xoxys.docker_engine/tasks/install.yml
Robert Kaussow 7bc3d4893e
Some checks failed
continuous-integration/drone/push Build is failing
pip ignore installed for user based tasks
2019-11-25 00:18:49 +01:00

33 lines
737 B
YAML

---
- block:
- name: Install dependencies
package:
name: "{{ item }}"
state: present
loop: "{{ dockerengine_packages_extra }}"
- name: Install packages
package:
name: "{{ item }}"
state: present
loop: "{{ dockerengine_packages }}"
- name: Install python packages
pip:
name: "{{ item.name }}"
executable: "{{ item.exec | default('/usr/bin/pip3') }}"
state: present
loop: "{{ dockerengine_packages_python }}"
loop_control:
label: "{{ item.name }}"
become: True
become_user: root
- name: Install ansible requirements
pip:
name: "{{ item }}"
state: present
extra_args: --user -I
loop:
- docker