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:
Christian Berendt 2018-01-10 13:22:53 +01:00
parent 5c1f0226d3
commit f3a609e8db
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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']