mirror of
https://github.com/willshersystems/ansible-sshd
synced 2025-01-11 09:40:18 +01:00
Merge pull request #115 from thalunil/master
OpenBSD and ansible_distribution_major_version
This commit is contained in:
commit
9e79cc3802
1 changed files with 8 additions and 4 deletions
|
@ -8,14 +8,18 @@
|
||||||
if ansible_distribution == "Ubuntu"
|
if ansible_distribution == "Ubuntu"
|
||||||
else 0
|
else 0
|
||||||
}}
|
}}
|
||||||
ansible_distribution_lts_version: '{{
|
ansible_distribution_lts_version: >-
|
||||||
ansible_distribution_major_version|int -
|
{{
|
||||||
ansible_distribution_lts_offset|int }}'
|
ansible_distribution_major_version|int -
|
||||||
|
ansible_distribution_lts_offset|int
|
||||||
|
if ansible_distribution == "Ubuntu"
|
||||||
|
else ansible_distribution_version
|
||||||
|
}}
|
||||||
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_version }}.yml"
|
||||||
- "{{ ansible_os_family }}.yml"
|
- "{{ ansible_os_family }}.yml"
|
||||||
- default.yml
|
- default.yml
|
||||||
paths:
|
paths:
|
||||||
|
|
Loading…
Reference in a new issue