manage_netplan/handlers/main.yml
Bertrand Lanson 30ce327d55
All checks were successful
test / Linting (push) Successful in 18s
test / Molecule tests (default, debian11) (push) Successful in 47s
test / Molecule tests (default, debian12) (push) Successful in 53s
test / Molecule tests (default, ubuntu2204) (push) Successful in 49s
test / Molecule tests (default, ubuntu2004) (push) Successful in 1m21s
test / Molecule tests (with_custom_config, debian11) (push) Successful in 45s
test / Molecule tests (with_custom_config, debian12) (push) Successful in 49s
test / Molecule tests (with_custom_config, ubuntu2004) (push) Successful in 51s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Successful in 46s
feat: remove become from role
2023-12-03 17:48:46 +01:00

13 lines
332 B
YAML

---
# handlers file for manage_netplan
- name: "Generate netplan configuration"
ansible.builtin.command: netplan generate
changed_when: false
listen: "netplan-generate"
- name: "Apply netplan configuration"
ansible.builtin.command: netplan apply
listen: "netplan-apply"
changed_when: false
when: manage_netplan_apply