Bertrand Lanson
3967974270
Some checks failed
test / Linting (push) Failing after 10s
test / Molecule tests (default, debian11) (push) Has been skipped
test / Molecule tests (default, debian12) (push) Has been skipped
test / Molecule tests (default, ubuntu2004) (push) Has been skipped
test / Molecule tests (default, ubuntu2204) (push) Has been skipped
test / Molecule tests (with_custom_config, debian11) (push) Has been skipped
test / Molecule tests (with_custom_config, debian12) (push) Has been skipped
test / Molecule tests (with_custom_config, ubuntu2004) (push) Has been skipped
test / Molecule tests (with_custom_config, ubuntu2204) (push) Has been skipped
15 lines
362 B
YAML
15 lines
362 B
YAML
---
|
|
# handlers file for manage_netplan
|
|
- name: "Generate netplan configuration"
|
|
ansible.builtin.command: netplan generate
|
|
changed_when: false
|
|
become: true
|
|
listen: "netplan-generate"
|
|
|
|
- name: "Apply netplan configuration"
|
|
ansible.builtin.command: netplan apply
|
|
listen: "netplan-apply"
|
|
changed_when: false
|
|
when: manage_netplan_apply
|
|
become: true
|