2019-11-24 16:21:18 +00:00
|
|
|
---
|
|
|
|
- block:
|
|
|
|
- name: Install dependencies
|
|
|
|
package:
|
|
|
|
name: "{{ item }}"
|
|
|
|
state: present
|
|
|
|
loop: "{{ dockerengine_packages_extra }}"
|
|
|
|
|
|
|
|
- name: Install packages
|
|
|
|
package:
|
2019-11-24 22:11:02 +00:00
|
|
|
name: "{{ item }}"
|
2019-11-24 16:21:18 +00:00
|
|
|
state: present
|
2019-11-24 23:49:53 +00:00
|
|
|
loop: "{{ dockerengine_packages + __docker_ansible_deps }}"
|
2019-11-24 16:21:18 +00:00
|
|
|
|
|
|
|
- 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
|