diff --git a/tasks/main.yml b/tasks/main.yml index 505e3b45..54d3491f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -43,6 +43,7 @@ - openstack_hosts-config - include: openstack_update_hosts_file.yml + static: no when: openstack_host_manage_hosts_file | bool tags: - openstack_hosts-install diff --git a/tasks/openstack_host_install.yml b/tasks/openstack_host_install.yml index 9c85bec2..c13dbfff 100644 --- a/tasks/openstack_host_install.yml +++ b/tasks/openstack_host_install.yml @@ -14,9 +14,11 @@ # limitations under the License. - include: openstack_host_install_apt.yml + static: no when: - ansible_pkg_mgr == 'apt' - include: openstack_host_install_yum.yml + static: no when: - ansible_pkg_mgr == 'yum'