diff --git a/roles/bootstrap-os/tasks/main.yml b/roles/bootstrap-os/tasks/main.yml index 98d7672f5..f82aeb8ac 100644 --- a/roles/bootstrap-os/tasks/main.yml +++ b/roles/bootstrap-os/tasks/main.yml @@ -10,7 +10,7 @@ when: '"CentOS" in os_release.stdout or "Oracle" in os_release.stdout' - include_tasks: bootstrap-redhat.yml - when: '"Red Hat Enterprise Linux" in os_release.stdout' + when: '"Red Hat Enterprise Linux" in os_release.stdout and "CentOS" not in os_release.stdout' - include_tasks: bootstrap-clearlinux.yml when: '"Clear Linux OS" in os_release.stdout'