allow optionally dependency installation
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Robert Kaussow 2019-05-12 17:26:30 +02:00
förälder 0e75d0e103
incheckning e1b31e2b51
3 ändrade filer med 16 tillägg och 0 borttagningar

Visa fil

@ -1,5 +1,11 @@
---
dockerengine_package: docker
# The role requires epel repository and pip to work
# You can use dockerengine_dependencies to install these dependencys
# dockerengine_dependencies:
# - epel-release
# - python2-pip
dockerengine_dependencies: []
dockerengine_docker_group_enabled: False
dockerengine_secure_registries: []

Visa fil

@ -1,6 +1,10 @@
---
- name: Converge
hosts: all
vars:
dockerengine_dependencies:
- epel-release
- python2-pip
roles:
- role: xoxys.docker-engine

Visa fil

@ -5,6 +5,12 @@
name: "{{ dockerengine_package }}"
state: installed
- name: Install dependencies
package:
name: "{{ item }}"
state: installed
loop: "{{ dockerengine_dependencies }}"
- name: Install python dependencies
pip:
name: