From 8effbf4023c414ff02955fbb5e9e9feee3bd2c65 Mon Sep 17 00:00:00 2001 From: ace Date: Tue, 16 Nov 2021 16:38:38 +0300 Subject: [PATCH] fix docker role --- tasks/{centos.yml => RedHat.yaml} | 0 tasks/main.yml | 5 ++--- 2 files changed, 2 insertions(+), 3 deletions(-) rename tasks/{centos.yml => RedHat.yaml} (100%) diff --git a/tasks/centos.yml b/tasks/RedHat.yaml similarity index 100% rename from tasks/centos.yml rename to tasks/RedHat.yaml diff --git a/tasks/main.yml b/tasks/main.yml index aa69b88..ab85353 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,4 +1,3 @@ --- - -- include_tasks: centos.yml - when: ansible_os_family == 'RedHat' +- name: Include docker install + include_tasks: "{{ ansible_os_family }}.yaml"