mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-11 01:57:37 -03:30
[release-2.27] Make fallback_ip cacheable in facts (#12182)
* Make fallback_ip cacheable in facts * Move cacheable property after fallback_ip variable Co-authored-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com> --------- Co-authored-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
This commit is contained in:
parent
bf68231a5a
commit
6a67d28fab
@ -16,6 +16,7 @@
|
||||
- name: Set fallback_ip
|
||||
set_fact:
|
||||
fallback_ip: "{{ ansible_default_ipv4.address | d('127.0.0.1') }}"
|
||||
cacheable: true
|
||||
when: fallback_ip is not defined
|
||||
|
||||
- name: Set no_proxy
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user