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