evolinux-base: add wrapper task file for backward compatibility
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> Details
gitea/ansible-roles/pipeline/head This commit looks good Details

This commit is contained in:
David Prevot 2023-03-27 16:13:11 +02:00
parent 09f951de18
commit 0ed1fb9f0a
1 changed files with 13 additions and 0 deletions

View 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', '>=')