mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-08 21:03:29 +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"
|
||||
else 0
|
||||
}}
|
||||
ansible_distribution_lts_version: '{{
|
||||
ansible_distribution_major_version|int -
|
||||
ansible_distribution_lts_offset|int }}'
|
||||
ansible_distribution_lts_version: >-
|
||||
{{
|
||||
ansible_distribution_major_version|int -
|
||||
ansible_distribution_lts_offset|int
|
||||
if ansible_distribution == "Ubuntu"
|
||||
else ansible_distribution_version
|
||||
}}
|
||||
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