1
0
Fork 0
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:
L3D 2021-03-11 00:26:37 +01:00
parent 3d4540fc62
commit ea08ec991d
Signed by: l3d
GPG key ID: CD08445BFF4313D1

View file

@ -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