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

@ -1,5 +1,11 @@
---
- name: Gather package facts
package_facts:
- set_fact:
run_docker_installation: "{{ matrix_docker_installation_enabled|bool and 'docker.io' not in ansible_facts.packages }}"
- include_tasks: "{{ role_path }}/tasks/server_base/setup_centos.yml"
when: ansible_distribution == 'CentOS'