Merge "Iscsid container fails to start on storage node when cinder is enabled"

This commit is contained in:
Jenkins 2016-10-03 17:35:28 +00:00 committed by Gerrit Code Review
commit cac300e0c8

@ -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"