4 - name: Install netplan
7 - name: Update netplan default.yaml
9 content: "{{netplan_content}}"
10 dest: /etc/netplan/default.yaml
14 register: netplan_default_yaml
16 when: netplan_default_yaml.changed and netplan_apply
17 ansible.builtin.command:
18 argv: ['netplan', 'apply']