diff --git a/roles/overcloud-deploy/tasks/pre-deploy.yml b/roles/overcloud-deploy/tasks/pre-deploy.yml index 007f79df8..0fc7f17fa 100644 --- a/roles/overcloud-deploy/tasks/pre-deploy.yml +++ b/roles/overcloud-deploy/tasks/pre-deploy.yml @@ -73,7 +73,6 @@ - name: set network_args fact for containers set_fact: network_args: >- - -e {{ overcloud_templates_path }}/environments/docker.yaml {{ network_isolation_args }} -e {{ working_dir }}/containers-default-parameters.yaml when: @@ -178,11 +177,15 @@ set_fact: container_args: >- -e {{ overcloud_templates_path }}/environments/docker.yaml + {% if enable_pacemaker|bool %} + -e {{ overcloud_templates_path }}/environments/docker-ha.yaml + {% endif %} + {% if not network_isolation|bool %} -e {{ overcloud_templates_path }}/environments/docker-network.yaml + {% endif %} -e {{ working_dir }}/containers-default-parameters.yaml when: - containerized_overcloud|bool - - not network_isolation|bool - name: set composable roles args fact set_fact: