Merge "Make iscsi config.yml consistent with start.yml"
This commit is contained in:
commit
b0f1e00b0f
@ -23,7 +23,9 @@
|
|||||||
path: "{{ node_config_directory }}/{{ item }}"
|
path: "{{ node_config_directory }}/{{ item }}"
|
||||||
state: "directory"
|
state: "directory"
|
||||||
recurse: yes
|
recurse: yes
|
||||||
when: inventory_hostname in groups['tgtd']
|
when:
|
||||||
|
- inventory_hostname in groups['tgtd']
|
||||||
|
- enable_cinder_backend_lvm | bool
|
||||||
with_items:
|
with_items:
|
||||||
- "tgtd"
|
- "tgtd"
|
||||||
|
|
||||||
@ -31,6 +33,8 @@
|
|||||||
template:
|
template:
|
||||||
src: "{{ item }}.json.j2"
|
src: "{{ item }}.json.j2"
|
||||||
dest: "{{ node_config_directory }}/{{ item }}/config.json"
|
dest: "{{ node_config_directory }}/{{ item }}/config.json"
|
||||||
when: inventory_hostname in groups['tgtd']
|
when:
|
||||||
|
- inventory_hostname in groups['tgtd']
|
||||||
|
- enable_cinder_backend_lvm | bool
|
||||||
with_items:
|
with_items:
|
||||||
- "tgtd"
|
- "tgtd"
|
||||||
|
Loading…
Reference in New Issue
Block a user