diff options
author | Tim Rozet <trozet@redhat.com> | 2017-10-19 13:28:16 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-10-19 13:28:16 +0000 |
commit | 6f0190c0ce9b58ce8cb41084661891cb35864dfe (patch) | |
tree | c1c18c3dd2cfb5fdafc2141225ecff5ed55b2234 /lib | |
parent | 5a9a6460ab27d758ac72321998a5ffda3e98e931 (diff) | |
parent | 663db511c540fe94b4396146f76bbc40bd3fd852 (diff) |
Merge "Adapt zrpcd to work for Carbon/Nitrogen"
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ansible/playbooks/post_deploy_overcloud.yml | 12 |
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" |