mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-12-23 17:10:19 +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
|
- name: OS is supported
|
||||||
assert:
|
meta: end_host
|
||||||
that: __sshd_os_supported|bool
|
when: not __sshd_os_supported|bool
|
||||||
|
|
||||||
- name: Install ssh packages
|
- name: Install ssh packages
|
||||||
package:
|
package:
|
||||||
|
|
Loading…
Reference in a new issue