forked from saratov/infra
fix default(omit) behaviour
This commit is contained in:
parent
2fa7099cbb
commit
d5bf5d23f8
@ -49,8 +49,8 @@
|
||||
state: present
|
||||
# ide: '{ide[2]: "local-lvm:cloudinit"}'
|
||||
ipconfig0: "ip={{stack.nodes[node_name].net.eth0.ipv4[0]}},gw={{stack.nodes[node_name].net.eth0.default}}"
|
||||
nameserver: "{{stack.nodes[node_name].net.eth0.nameservers[0] | default(omit)}}"
|
||||
searchdomain: "{{stack.nodes[node_name].net.eth0.search[0] | default(omit)}}"
|
||||
nameserver: "{{stack.nodes[node_name].net.eth0.nameservers | default(omit) | first}}"
|
||||
searchdomain: "{{stack.nodes[node_name].net.eth0.search | default(omit) | first}}"
|
||||
register: vm_status
|
||||
until: vm_status is succeeded
|
||||
retries: 30
|
||||
|
Loading…
Reference in New Issue
Block a user