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"