mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-06-25 18:57:50 +02:00
Add matrix_docker_installation_enabled
This commit is contained in:
@ -9,11 +9,13 @@
|
||||
mode: 0644
|
||||
with_items:
|
||||
- docker-ce.repo
|
||||
when: run_docker_installation|bool
|
||||
|
||||
- name: Ensure Docker's RPM key is trusted
|
||||
rpm_key:
|
||||
state: present
|
||||
key: https://download.docker.com/linux/centos/gpg
|
||||
when: run_docker_installation|bool
|
||||
|
||||
- name: Ensure yum packages are installed
|
||||
yum:
|
||||
@ -31,3 +33,4 @@
|
||||
- docker-ce
|
||||
state: latest
|
||||
update_cache: yes
|
||||
when: run_docker_installation|bool
|
||||
|
Reference in New Issue
Block a user