From 800211672fc0aef9638f53f5d14f2d74f8edc2bf Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Mon, 9 Aug 2021 21:48:47 +0500 Subject: [PATCH] Fix bug --- tasks/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index a929037..e60ada9 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -6,7 +6,7 @@ - fail: msg: 'Invalid `common__iptables__state`: {{ common__iptables__state }}' - when: (common__iptables__state != null) and + when: (common__iptables__state != None) and (common__iptables__state != 'purge') and (common__iptables__state != 'remove') and (common__iptables__state != 'install') @@ -20,7 +20,7 @@ - fail: msg: 'Invalid `common__certbot__state`: {{ common__certbot__state }}' - when: (common__certbot__state != null) and + when: (common__certbot__state != None) and (common__certbot__state != 'purge') and (common__certbot__state != 'remove') and (common__certbot__state != 'install') @@ -34,7 +34,7 @@ - fail: msg: 'Invalid `common__apache__state`: {{ common__apache__state }}' - when: (common__apache__state != null) and + when: (common__apache__state != None) and (common__apache__state != 'purge') and (common__apache__state != 'remove') and (common__apache__state != 'install') @@ -48,7 +48,7 @@ - fail: msg: 'Invalid `common__nginx__state`: {{ common__nginx__state }}' - when: (common__nginx__state != null) and + when: (common__nginx__state != None) and (common__nginx__state != 'purge') and (common__nginx__state != 'remove') and (common__nginx__state != 'install')