From 73640870f97a21ce9880b4ae842801b49d48ae99 Mon Sep 17 00:00:00 2001 From: pkomarov Date: Thu, 8 Feb 2018 13:38:37 +0200 Subject: [PATCH] fix indent in lines 46,69 Change-Id: Ia7c02101dea703f6e5b678fb2e3ca4579d80d5a5 --- infrared/infrared_instance-ha_plugin_main.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/infrared/infrared_instance-ha_plugin_main.yml b/infrared/infrared_instance-ha_plugin_main.yml index 33963cd..6b641d8 100644 --- a/infrared/infrared_instance-ha_plugin_main.yml +++ b/infrared/infrared_instance-ha_plugin_main.yml @@ -43,8 +43,7 @@ - name: create ssh.config.ansible file shell: | source /home/stack/stackrc - echo -e "Host undercloud\n Hostname 127.0.0.1\n IdentityFile - /home/stack/.ssh/id_rsa\n User stack\n StrictHostKeyChecking no\n UserKnownHostsFile=/dev/null\n" > ssh.config.ansible + echo -e "Host undercloud\n Hostname 127.0.0.1\n IdentityFile /home/stack/.ssh/id_rsa\n User stack\n StrictHostKeyChecking no\n UserKnownHostsFile=/dev/null\n" > ssh.config.ansible openstack server list -c Name -c Networks | awk '/ctlplane/ {print $2, $4}' | sed s/ctlplane=//g | while read node; do node_name=$(echo $node | cut -f 1 -d " "); node_ip=$(echo $node | cut -f 2 -d " "); echo -e "Host $node_name\n Hostname $node_ip\n IdentityFile /home/stack/.ssh/id_rsa\n User heat-admin\n StrictHostKeyChecking no\n UserKnownHostsFile=/dev/null\n"; done >> ssh.config.ansible - name: get tripleo-quickstart-utils repo @@ -66,12 +65,11 @@ - name: run instance-ha deploy script shell: | source /home/stack/ansible_ha.env - ansible-playbook -v /home/stack/tripleo-quickstart-utils/playbooks - /overcloud-instance-ha.yml -e release={{release}} -e stonith_devices={{stonith_devices}} -e instance_ha_shared_storage={{instance_ha_shared_storage}} -e instance_ha_action={{instance_ha_action}} + ansible-playbook -v /home/stack/tripleo-quickstart-utils/playbooks/overcloud-instance-ha.yml -e release={{release}} -e stonith_devices={{stonith_devices}} -e instance_ha_shared_storage={{instance_ha_shared_storage}} -e instance_ha_action={{instance_ha_action}} register: instance_ha_deploy_outcome vars: instance_ha_action: '{{ install.instance_ha_action }}' release: '{{ install.release }}' stonith_devices: '{{ install.stonith_devices }}' - instance_ha_shared_storage: '{{ install.instance_ha_shared_storage }}' \ No newline at end of file + instance_ha_shared_storage: '{{ install.instance_ha_shared_storage }}'