Skip to content

Instantly share code, notes, and snippets.

@evrardjp
Created June 2, 2016 12:36
Show Gist options
  • Save evrardjp/4c78ea63d1f9854ec6ebdf436719dfd9 to your computer and use it in GitHub Desktop.
Save evrardjp/4c78ea63d1f9854ec6ebdf436719dfd9 to your computer and use it in GitHub Desktop.
with_first_found
- "{{ ansible_distribution | lower }}-{{ ansible_distribution_version | lower }}.yml"
- "{{ ansible_distribution | lower }}-{{ ansible_distribution_major_version | lower }}.yml"
- "{{ ansible_os_family | lower }}-{{ ansible_distribution_major_version | lower }}.yml"
- "{{ ansible_distribution | lower }}.yml"
- "{{ ansible_os_family | lower }}.yml"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment