xoxys.network/tasks/main.yml
Robert Kaussow 233cf83f87
All checks were successful
continuous-integration/drone/push Build is passing
feat: add option to manage networkmanager config files
2022-11-11 21:51:36 +01:00

18 lines
490 B
YAML

---
- include_vars: "{{ var_files }}"
vars:
var_files: "{{ lookup('first_found', params, errors='ignore') }}"
params:
files:
- "{{ ansible_lsb.id | default('') | lower }}.yml"
- "{{ ansible_os_family | lower }}-{{ ansible_distribution_major_version }}.yml"
- "{{ ansible_os_family | lower }}.yml"
- default.yml
paths:
- "vars"
when: var_files
- include_tasks: nm.yml
when: __network_nmcli | bool
- include_tasks: setup.yml