mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-26 04:50:18 +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"
|
if ansible_distribution == "Ubuntu"
|
||||||
else ansible_distribution_version
|
else ansible_distribution_version
|
||||||
}}
|
}}
|
||||||
ansible_distribution_major_version: >-
|
|
||||||
{{
|
|
||||||
ansible_distribution_version if ansible_os_family == "OpenBSD"
|
|
||||||
}}
|
|
||||||
params:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}_{{ ansible_distribution_lts_version }}.yml"
|
- "{{ ansible_distribution }}_{{ ansible_distribution_lts_version }}.yml"
|
||||||
- "{{ ansible_distribution }}.yml"
|
- "{{ ansible_distribution }}.yml"
|
||||||
- "{{ ansible_os_family }}_{{ ansible_distribution_major_version }}.yml"
|
- "{{ ansible_os_family }}_{{ ansible_distribution_major_version }}.yml"
|
||||||
|
- "{{ ansible_os_family }}_{{ ansible_distribution_version }}.yml"
|
||||||
- "{{ ansible_os_family }}.yml"
|
- "{{ ansible_os_family }}.yml"
|
||||||
- default.yml
|
- default.yml
|
||||||
paths:
|
paths:
|
||||||
|
|
Loading…
Reference in a new issue