forked from saratov/infra
omit searchdomain when undefined
This commit is contained in:
parent
7913775562
commit
aad9337422
@ -50,7 +50,7 @@
|
|||||||
# ide: '{ide[2]: "local-lvm:cloudinit"}'
|
# ide: '{ide[2]: "local-lvm:cloudinit"}'
|
||||||
ipconfig0: "ip={{stack.nodes[node_name].net.eth0.ipv4[0]}},gw={{stack.nodes[node_name].net.eth0.default}}"
|
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]}}"
|
nameserver: "{{stack.nodes[node_name].net.eth0.nameservers[0]}}"
|
||||||
searchdomain: "{{stack.nodes[node_name].net.eth0.search[0]}}"
|
searchdomain: "{{stack.nodes[node_name].net.eth0.search[0] | default(omit)}}"
|
||||||
register: vm_status
|
register: vm_status
|
||||||
until: vm_status is succeeded
|
until: vm_status is succeeded
|
||||||
retries: 30
|
retries: 30
|
||||||
|
Loading…
Reference in New Issue
Block a user