diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2018-11-08 02:04:17 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-11-08 02:04:17 +0000 |
commit | 8321741f80cf7b04869cf4842a9130513a5ed5d3 (patch) | |
tree | bedab35034a87d3b305f52296c208b16172b663d | |
parent | a22c5801f865bd7fc5fa1c24d45a9b2db5691cce (diff) | |
parent | 8e827e621ec4c9b9abee2d3a3d56fa52c03dbd90 (diff) |
Merge "[os-stor4nfv] Fix errors in HA deploy"
-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: |