Robert Kaussow
1025e67206
All checks were successful
continuous-integration/drone/push Build is passing
25 lines
626 B
YAML
25 lines
626 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/pip3') }}"
|
|
state: present
|
|
loop: "{{ dockerengine_packages_python }}"
|
|
loop_control:
|
|
label: "{{ item.name }}"
|
|
become: True
|
|
become_user: root
|