Add matrix_docker_installation_enabled

This commit is contained in:
Dan Arnfield
2019-11-18 11:20:01 -06:00
parent 3cec6947ed
commit 80cfb2a93e
4 changed files with 16 additions and 0 deletions

View File

@ -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