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:
Spreadcat 2020-02-14 12:04:57 +01:00 committed by GitHub
parent e70dbc3007
commit 5b04f74614
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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