evolinux-base: add wrapper task file for backward compatibility
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2769|4|2765|4|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/228//ansiblelint">Evolix » ansible-roles » unstable #228</a>
gitea/ansible-roles/pipeline/head This commit looks good
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2769|4|2765|4|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/228//ansiblelint">Evolix » ansible-roles » unstable #228</a>
gitea/ansible-roles/pipeline/head This commit looks good
This commit is contained in:
parent
09f951de18
commit
0ed1fb9f0a
1 changed files with 13 additions and 0 deletions
13
evolinux-base/tasks/ssh.yml
Normal file
13
evolinux-base/tasks/ssh.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
|
||||
# Backward compatibility task file
|
||||
|
||||
- name: SSH configuration (Debian <12)
|
||||
ansible.builtin.import_tasks: ssh.single-file.yml
|
||||
when:
|
||||
- ansible_distribution_major_version is version('12', '<')
|
||||
|
||||
- name: SSH configuration (Debian >=12)
|
||||
ansible.builtin.import_tasks: ssh.included-files.yml
|
||||
when:
|
||||
- ansible_distribution_major_version is version('12', '>=')
|
Loading…
Reference in a new issue