Use multipathd hostgroup in the multipathd role
There is already a multipathd hostgroup in the inventory. This hostgroup should be used in this role. Change-Id: If0cc0f8e4b81f71c40357bdba66bc2c62d72dfd8
This commit is contained in:
parent
5c1f0226d3
commit
f3a609e8db
@ -7,7 +7,7 @@
|
||||
group: "{{ config_owner_group }}"
|
||||
mode: "0770"
|
||||
become: true
|
||||
when: inventory_hostname in groups['compute']
|
||||
when: inventory_hostname in groups['multipathd']
|
||||
with_items:
|
||||
- "multipathd"
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
dest: "{{ node_config_directory }}/{{ item }}/config.json"
|
||||
mode: "0660"
|
||||
become: true
|
||||
when: inventory_hostname in groups['compute']
|
||||
when: inventory_hostname in groups['multipathd']
|
||||
with_items:
|
||||
- "multipathd"
|
||||
|
||||
|
@ -18,4 +18,4 @@
|
||||
- "/sys/kernel/config:/configfs"
|
||||
- "cinder:/var/lib/cinder"
|
||||
- "iscsi_info:/etc/iscsi"
|
||||
when: inventory_hostname in groups['compute']
|
||||
when: inventory_hostname in groups['multipathd']
|
||||
|
Loading…
Reference in New Issue
Block a user