Skip to content
Snippets Groups Projects
Commit b0f1e00b authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Make iscsi config.yml consistent with start.yml"

parents afdf71e9 157dc0f1
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,9 @@
path: "{{ node_config_directory }}/{{ item }}"
state: "directory"
recurse: yes
when: inventory_hostname in groups['tgtd']
when:
- inventory_hostname in groups['tgtd']
- enable_cinder_backend_lvm | bool
with_items:
- "tgtd"
......@@ -31,6 +33,8 @@
template:
src: "{{ item }}.json.j2"
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:
- "tgtd"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment