From b87109ff07443670a0c9ad0ab8ddfda548fa16c5 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 25 Feb 2021 02:59:50 +0100 Subject: Some changes of syntactic sugar for Ansible 3.9 compatibility --- roles/ands_network/tasks/common.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/ands_network/tasks/common.yml') diff --git a/roles/ands_network/tasks/common.yml b/roles/ands_network/tasks/common.yml index 03d9fb4..11caac5 100644 --- a/roles/ands_network/tasks/common.yml +++ b/roles/ands_network/tasks/common.yml @@ -30,7 +30,7 @@ - name: Provision /etc/hosts with load-balance IP on non master servers lineinfile: dest="/etc/hosts" line="{{ ands_inner_lb_ip }} {{ openshift_master_cluster_hostname }}" regexp=".*{{ openshift_master_cluster_hostname }}$" state="present" - when: (result | skipped) and (ands_use_inner_lb | default(false)) + when: (result is skipped) and (ands_use_inner_lb | default(false)) - name: Provision inner load-balancer hostname in /etc/hosts lineinfile: dest="/etc/hosts" line="{{ ands_inner_lb_ip }} {{ ands_inner_lb_hostname }} {{ ands_inner_lb_fqdn }}" regexp=".*{{ ands_inner_lb_fqdn }}$" state="present" -- cgit v1.2.3