mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-10 05:33:29 +01:00
extending yaml file lookup with "ansible_distribution_version"
This commit is contained in:
parent
9fedd23cf0
commit
63095094fc
1 changed files with 1 additions and 4 deletions
|
@ -16,15 +16,12 @@
|
|||
if ansible_distribution == "Ubuntu"
|
||||
else ansible_distribution_version
|
||||
}}
|
||||
ansible_distribution_major_version: >-
|
||||
{{
|
||||
ansible_distribution_version if ansible_os_family == "OpenBSD"
|
||||
}}
|
||||
params:
|
||||
files:
|
||||
- "{{ ansible_distribution }}_{{ ansible_distribution_lts_version }}.yml"
|
||||
- "{{ ansible_distribution }}.yml"
|
||||
- "{{ ansible_os_family }}_{{ ansible_distribution_major_version }}.yml"
|
||||
- "{{ ansible_os_family }}_{{ ansible_distribution_version }}.yml"
|
||||
- "{{ ansible_os_family }}.yml"
|
||||
- default.yml
|
||||
paths:
|
||||
|
|
Loading…
Reference in a new issue