mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-22 11:00:19 +01:00
use end_host for ansible >= 2.8
This commit is contained in:
parent
a6e30dec3b
commit
a3bac673f0
1 changed files with 6 additions and 0 deletions
|
@ -3,6 +3,12 @@
|
|||
- name: OS is supported
|
||||
assert:
|
||||
that: __sshd_os_supported|bool
|
||||
when: ansible_version.full is version_compare('2.8', '<')
|
||||
|
||||
- name: OS is supported
|
||||
meta: end_host
|
||||
when:
|
||||
- not __sshd_os_supported|bool
|
||||
|
||||
- name: Install ssh packages
|
||||
package:
|
||||
|
|
Loading…
Reference in a new issue