mirror of
https://github.com/roles-ansible/ansible_role_sshd.git
synced 2024-08-16 11:59:49 +02:00
name all tasks
This commit is contained in:
parent
3d4540fc62
commit
ea08ec991d
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@
|
||||||
sshd__version_is_above_eight: true
|
sshd__version_is_above_eight: true
|
||||||
when: ansible_facts.packages[sshd__package][0].version is version('8.0', '>=')
|
when: ansible_facts.packages[sshd__package][0].version is version('8.0', '>=')
|
||||||
rescue:
|
rescue:
|
||||||
- ansible.builtin.debug:
|
- name: leave notice if version detection failed
|
||||||
|
ansible.builtin.debug:
|
||||||
msg: "Failed to detect ssh version. Set sshd__version_is_above_eight to true if you want to experience new config features from sshd version 8"
|
msg: "Failed to detect ssh version. Set sshd__version_is_above_eight to true if you want to experience new config features from sshd version 8"
|
||||||
|
|
||||||
- name: manage ssh host keys
|
- name: manage ssh host keys
|
||||||
|
|
Loading…
Reference in a new issue