Skip to content
Snippets Groups Projects
Commit f3a609e8 authored by Christian Berendt's avatar Christian Berendt
Browse files

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
parent 5c1f0226
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
group: "{{ config_owner_group }}" group: "{{ config_owner_group }}"
mode: "0770" mode: "0770"
become: true become: true
when: inventory_hostname in groups['compute'] when: inventory_hostname in groups['multipathd']
with_items: with_items:
- "multipathd" - "multipathd"
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
dest: "{{ node_config_directory }}/{{ item }}/config.json" dest: "{{ node_config_directory }}/{{ item }}/config.json"
mode: "0660" mode: "0660"
become: true become: true
when: inventory_hostname in groups['compute'] when: inventory_hostname in groups['multipathd']
with_items: with_items:
- "multipathd" - "multipathd"
......
...@@ -18,4 +18,4 @@ ...@@ -18,4 +18,4 @@
- "/sys/kernel/config:/configfs" - "/sys/kernel/config:/configfs"
- "cinder:/var/lib/cinder" - "cinder:/var/lib/cinder"
- "iscsi_info:/etc/iscsi" - "iscsi_info:/etc/iscsi"
when: inventory_hostname in groups['compute'] when: inventory_hostname in groups['multipathd']
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