Fix the netplan conditional.
This commit is contained in:
parent
7b838e598e
commit
96862210f0
|
@ -29,10 +29,11 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
when: net_ints is defined and net_ints | length != 0
|
||||
when: ubuntu_netplan_interfaces is defined and ubuntu_netplan_interfaces | length != 0
|
||||
notify: Netplan Apply
|
||||
|
||||
- meta: flush_handlers
|
||||
- name: Force the Netplan Apply command execution
|
||||
ansible.builtin.meta: flush_handlers
|
||||
tags:
|
||||
- network_interface
|
||||
- networking
|
||||
|
|
Loading…
Reference in New Issue