install ansible deps with yum
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7bc3d4893e
commit
1025e67206
@ -6,7 +6,6 @@ dockerengine_packages:
|
||||
# The role requires epel repository and pip to work .You can use
|
||||
# `dockerengine_packages_extra` to install these dependencys.
|
||||
# @end
|
||||
# @var dockerengine_packages_extra:example: $ ["epel-release", "python2-pip"]
|
||||
dockerengine_packages_extra: []
|
||||
|
||||
dockerengine_packages_python:
|
||||
|
@ -1,11 +1,6 @@
|
||||
---
|
||||
- name: Converge
|
||||
hosts: all
|
||||
vars:
|
||||
dockerengine_packages_extra:
|
||||
- epel-release
|
||||
- python2-pip
|
||||
|
||||
roles:
|
||||
- role: xoxys.python3
|
||||
- role: xoxys.docker-engine
|
||||
|
@ -10,7 +10,7 @@
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop: "{{ dockerengine_packages }}"
|
||||
loop: "{{ dockerengine_packages + __docker_ansible_deps }}"
|
||||
|
||||
- name: Install python packages
|
||||
pip:
|
||||
@ -22,11 +22,3 @@
|
||||
label: "{{ item.name }}"
|
||||
become: True
|
||||
become_user: root
|
||||
|
||||
- name: Install ansible requirements
|
||||
pip:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
extra_args: --user -I
|
||||
loop:
|
||||
- docker
|
||||
|
3
vars/main.yml
Normal file
3
vars/main.yml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
__docker_ansible_deps:
|
||||
- python-docker-py
|
Loading…
Reference in New Issue
Block a user