Merge "Improve inventory scoping for limited play execution"
This commit is contained in:
commit
b2cc046ee4
@ -64,7 +64,7 @@
|
|||||||
static: no
|
static: no
|
||||||
when:
|
when:
|
||||||
- "'nova_conductor' in group_names"
|
- "'nova_conductor' in group_names"
|
||||||
- "inventory_hostname == ansible_play_hosts[0]"
|
- "inventory_hostname == (groups['nova_conductor'] | intersect(ansible_play_hosts))[0]"
|
||||||
tags:
|
tags:
|
||||||
- nova-config
|
- nova-config
|
||||||
|
|
||||||
@ -76,7 +76,7 @@
|
|||||||
static: no
|
static: no
|
||||||
when:
|
when:
|
||||||
- "'nova_conductor' in group_names"
|
- "'nova_conductor' in group_names"
|
||||||
- "inventory_hostname == ansible_play_hosts[0]"
|
- "inventory_hostname == (groups['nova_conductor'] | intersect(ansible_play_hosts))[0]"
|
||||||
tags:
|
tags:
|
||||||
- nova-config
|
- nova-config
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user