homeserver/roles/mgrote_netplan/tasks/main.yml
Michael Grote 4a507b9dc6 configure netplan (#610)
Reviewed-on: #610
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-11-24 14:11:59 +01:00

6 lines
179 B
YAML

---
- name: Include tasks only when the OS is Ubuntu
ansible.builtin.include_tasks: netplan.yml
when:
- "'Ubuntu' in ansible_distribution"
- netplan_configure is true