This commit is contained in:
parent
3922f88ee8
commit
5dfa3dca91
@ -5,7 +5,7 @@ dockerengine_package: docker
|
||||
# dockerengine_dependencies:
|
||||
# - epel-release
|
||||
# - python2-pip
|
||||
dockerengine_dependencies: []
|
||||
dockerengine_packages_extra: []
|
||||
dockerengine_docker_group_enabled: False
|
||||
|
||||
dockerengine_secure_registries: []
|
||||
|
@ -3,19 +3,20 @@
|
||||
- name: Install docker engine
|
||||
package:
|
||||
name: "{{ dockerengine_package }}"
|
||||
state: installed
|
||||
state: present
|
||||
|
||||
- name: Install dependencies
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: installed
|
||||
loop: "{{ dockerengine_dependencies }}"
|
||||
state: present
|
||||
loop: "{{ dockerengine_packages_extra }}"
|
||||
|
||||
- name: Install python dependencies
|
||||
pip:
|
||||
name:
|
||||
- docker
|
||||
- docker-compose
|
||||
state: present
|
||||
|
||||
- name: Add docker group
|
||||
group:
|
||||
|
Loading…
Reference in New Issue
Block a user