Merge "Fix loop variable name for nested loop"
This commit is contained in:
@@ -24,7 +24,9 @@
|
|||||||
wait_interval: "{{ haproxy_wait_interval | default(5) }}"
|
wait_interval: "{{ haproxy_wait_interval | default(5) }}"
|
||||||
wait_retries: "{{ haproxy_wait_retries | default(24) }}"
|
wait_retries: "{{ haproxy_wait_retries | default(24) }}"
|
||||||
weight: "{{ haproxy_weight | default(omit) }}"
|
weight: "{{ haproxy_weight | default(omit) }}"
|
||||||
delegate_to: "{{ item }}"
|
delegate_to: "{{ delegate_host }}"
|
||||||
with_items: "{{ groups['haproxy'] }}"
|
with_items: "{{ groups['haproxy'] }}"
|
||||||
|
loop_control:
|
||||||
|
loop_var: delegate_host
|
||||||
tags:
|
tags:
|
||||||
- common-haproxy
|
- common-haproxy
|
||||||
|
|||||||
Reference in New Issue
Block a user