add possibility to set os_family youself

This commit is contained in:
Jannik Beyerstedt 2019-10-10 16:43:35 +02:00
parent 1c24c11aa4
commit ce06ba5b48
5 changed files with 8 additions and 5 deletions

View file

@ -6,4 +6,4 @@
include_tasks: "{{ item }}"
with_first_found:
- "usersetup-{{ ansible_distribution }}.yml"
- "usersetup-{{ ansible_os_family }}.yml"
- "usersetup-{{ (override_os_family is defined) | ternary(override_os_family,ansible_os_family) }}.yml"