diff options
author | ramamani yeleswarapu <ramamani.yeleswarapu@intel.com> | 2018-11-06 14:24:46 -0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2018-11-08 06:37:07 +0000 |
commit | bb7fc0344ed6e15f03a35c822478a898ccb95947 (patch) | |
tree | ad9dccdc00f66c48db455fb40e29452fc3a0d9e2 /plugins/stor4nfv/roles/os-stor4nfv/tasks/post-install.yml | |
parent | e0eebbd97be96720c5d921085b885b3823865672 (diff) |
[os-stor4nfv] Fix errors in HA deploy
Change-Id: I1d744f024068ec412933487ef8234892f6391f77
Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
(cherry picked from commit 8e827e621ec4c9b9abee2d3a3d56fa52c03dbd90)
Diffstat (limited to 'plugins/stor4nfv/roles/os-stor4nfv/tasks/post-install.yml')
-rw-r--r-- | plugins/stor4nfv/roles/os-stor4nfv/tasks/post-install.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/stor4nfv/roles/os-stor4nfv/tasks/post-install.yml b/plugins/stor4nfv/roles/os-stor4nfv/tasks/post-install.yml index 4c4370fd..c0044322 100644 --- a/plugins/stor4nfv/roles/os-stor4nfv/tasks/post-install.yml +++ b/plugins/stor4nfv/roles/os-stor4nfv/tasks/post-install.yml @@ -83,6 +83,7 @@ register: opensds_driver_exists when: - inventory_hostname in groups['ceph-mon'] + - groups['ceph_adm'][0] in inventory_hostname - name: copy opensds conf remote_user: root @@ -93,6 +94,7 @@ cp -r /tmp/driver /etc/opensds; when: - inventory_hostname in groups['ceph-mon'] + - groups['ceph_adm'][0] in inventory_hostname - name: create ceph pool remote_user: root @@ -100,6 +102,7 @@ ceph osd pool create rbd 24 && ceph osd pool set rbd size 1 when: - inventory_hostname in groups['ceph-mon'] + - groups['ceph_adm'][0] in inventory_hostname - name: ensure osdsdock exists stat: @@ -107,6 +110,7 @@ register: opensds_exists when: - inventory_hostname in groups['ceph-mon'] + - groups['ceph_adm'][0] in inventory_hostname - name: start osdsdock daemon remote_user: root @@ -114,6 +118,7 @@ cd /opt && ./bin/osdsdock -daemon when: - inventory_hostname in groups['ceph-mon'] + - groups['ceph_adm'][0] in inventory_hostname - name: ensure osdsctl exists stat: |