Skip to content

Commit

Permalink
End_host for unsupported hosts
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Spreadcat committed Feb 14, 2020
1 parent e70dbc3 commit 5b04f74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/install.yml
@@ -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:
Expand Down

0 comments on commit 5b04f74

Please sign in to comment.