Move included vars to vars section
Resolve [DEPRECATION WARNING]: Specifying include variables at the top-level of the task is deprecated. Change-Id: If9705961f7f699434d7da875cbad307fbfa618f8
This commit is contained in:
parent
a72804ac8d
commit
e7263ad7f3
@ -78,6 +78,7 @@
|
|||||||
- { key: "net.ipv4.ip_local_reserved_ports", value: "{{ keystone_admin_port }}"}
|
- { key: "net.ipv4.ip_local_reserved_ports", value: "{{ keystone_admin_port }}"}
|
||||||
when: is_metal | bool
|
when: is_metal | bool
|
||||||
- include: common-tasks/haproxy-endpoint-manage.yml
|
- include: common-tasks/haproxy-endpoint-manage.yml
|
||||||
|
vars:
|
||||||
haproxy_state: disabled
|
haproxy_state: disabled
|
||||||
when: "{{ groups['keystone_all'] | length > 1 }}"
|
when: "{{ groups['keystone_all'] | length > 1 }}"
|
||||||
roles:
|
roles:
|
||||||
@ -96,6 +97,7 @@
|
|||||||
- crontab
|
- crontab
|
||||||
post_tasks:
|
post_tasks:
|
||||||
- include: common-tasks/haproxy-endpoint-manage.yml
|
- include: common-tasks/haproxy-endpoint-manage.yml
|
||||||
|
vars:
|
||||||
haproxy_state: enabled
|
haproxy_state: enabled
|
||||||
when: "{{ groups['keystone_all'] | length > 1 }}"
|
when: "{{ groups['keystone_all'] | length > 1 }}"
|
||||||
vars:
|
vars:
|
||||||
|
Loading…
Reference in New Issue
Block a user