summaryrefslogtreecommitdiffstats
path: root/lib/ansible/playbooks
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-10-19 20:50:45 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-10-19 20:50:45 +0000
commit658392b4f6972711ff4ddff85a5c4f2107f05ab4 (patch)
treef9fcf8e3537feb4c5ed0c444de57f232e5951ff4 /lib/ansible/playbooks
parentebff3ecd633a5df4ab3c995dce8a939762a88904 (diff)
parent873d9d4fa3999eb36e6fba3b7d790545b5e03a51 (diff)
Merge "Adapt zrpcd to work for Carbon/Nitrogen" into stable/euphrates
Diffstat (limited to 'lib/ansible/playbooks')
-rw-r--r--lib/ansible/playbooks/post_deploy_overcloud.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/ansible/playbooks/post_deploy_overcloud.yml b/lib/ansible/playbooks/post_deploy_overcloud.yml
index 5640e906..af1c648a 100644
--- a/lib/ansible/playbooks/post_deploy_overcloud.yml
+++ b/lib/ansible/playbooks/post_deploy_overcloud.yml
@@ -22,12 +22,12 @@
when:
- sfc
- "'controller' in ansible_hostname"
- - name: Ensure ZRPCD is up
- systemd:
- name: zrpcd
- state: started
- enabled: yes
- become: yes
+ - name: Ensure ZRPCD is running
+ shell: ps aux | grep zrpcd | grep -v grep
+ ignore_errors: yes
+ changed_when: false
+ register: zrpcd_status
+ failed_when: zrpcd_status.rc == 0
when:
- vpn
- "'controller-0' in ansible_hostname"