xoxys.docker_engine/tasks/install.yml
Robert Kaussow 0bd1d6ca8d
Some checks failed
continuous-integration/drone/push Build is failing
cast python version int to string
2020-05-07 22:08:49 +02:00

25 lines
664 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 + __docker_ansible_deps }}"
- name: Install python packages
pip:
name: "{{ item.name }}"
executable: "{{ item.exec | default('/usr/bin/pip' + ansible_python.version.major | string) }}"
state: present
loop: "{{ dockerengine_packages_python }}"
loop_control:
label: "{{ item.name }}"
become: True
become_user: root