diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-10-03 17:35:28 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-10-03 17:35:28 +0000 |
| commit | cac300e0c85ae2a6878e8a7b388da41b7584d282 (patch) | |
| tree | c68dcebd632b07075915c2f1cedda2668263414f | |
| parent | 3e405312c328e37d08c175372658f68cebc46a1f (diff) | |
| parent | 74c85cfe822638ae81d567b76de19f7158d2e399 (diff) | |
| download | kolla-cac300e0c85ae2a6878e8a7b388da41b7584d282.tar.gz kolla-cac300e0c85ae2a6878e8a7b388da41b7584d282.zip | |
Merge "Iscsid container fails to start on storage node when cinder is enabled"
| -rw-r--r-- | ansible/roles/iscsi/tasks/config.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ansible/roles/iscsi/tasks/config.yml b/ansible/roles/iscsi/tasks/config.yml index 897653765..4393db15f 100644 --- a/ansible/roles/iscsi/tasks/config.yml +++ b/ansible/roles/iscsi/tasks/config.yml @@ -4,7 +4,8 @@ path: "{{ node_config_directory }}/{{ item }}" state: "directory" recurse: yes - when: inventory_hostname in groups['compute'] + when: inventory_hostname in groups['compute'] or + inventory_hostname in groups['storage'] with_items: - "iscsid" @@ -12,7 +13,8 @@ template: src: "{{ item }}.json.j2" dest: "{{ node_config_directory }}/{{ item }}/config.json" - when: inventory_hostname in groups['compute'] + when: inventory_hostname in groups['compute'] or + inventory_hostname in groups['storage'] with_items: - "iscsid" |
