mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-26 04:50:18 +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
|
- name: OS is supported
|
||||||
assert:
|
assert:
|
||||||
that: __sshd_os_supported|bool
|
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
|
- name: Install ssh packages
|
||||||
package:
|
package:
|
||||||
|
|
Loading…
Reference in a new issue