From 5b04f7461445df2636b20d0d5cb1c7a8658a3158 Mon Sep 17 00:00:00 2001 From: Spreadcat Date: Fri, 14 Feb 2020 12:04:57 +0100 Subject: [PATCH] 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. --- tasks/install.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/install.yml b/tasks/install.yml index 9a37548..38c37ee 100644 --- a/tasks/install.yml +++ b/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: