mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-10 05:33:29 +01:00
End_host for unsupported hosts
This change will allow the play to continue without error if unsupported hosts are in the lists of targed host. The play will continue with the supported hosts end the play for the ones which are not supported.
This commit is contained in:
parent
e70dbc3007
commit
5b04f74614
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
---
|
||||
|
||||
- name: OS is supported
|
||||
assert:
|
||||
that: __sshd_os_supported|bool
|
||||
meta: end_host
|
||||
when: not __sshd_os_supported|bool
|
||||
|
||||
- name: Install ssh packages
|
||||
package:
|
||||
|
|
Loading…
Reference in a new issue