From 2e1c5ca66d2355127c3f751d8408c2e9bf4d955f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Tue, 23 May 2017 09:19:24 +0200 Subject: [PATCH] =?UTF-8?q?fix=20extraneous=20{{=20}}=C2=A0in=20when=20cla?= =?UTF-8?q?use?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/docker/tasks/main.yml | 2 +- roles/name-resolution/tasks/main.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml index 407cadc..338d746 100644 --- a/roles/docker/tasks/main.yml +++ b/roles/docker/tasks/main.yml @@ -3,7 +3,7 @@ - name: Check for mandatory variables required by this playbook fail: msg: "This playbook requires {{item}} to be set." - when: "{{ item }} is not defined or {{ item }} == ''" + when: "item is not defined or item == ''" with_items: - docker_storage_vg tags: docker-storage diff --git a/roles/name-resolution/tasks/main.yml b/roles/name-resolution/tasks/main.yml index f161c37..7a64ecd 100644 --- a/roles/name-resolution/tasks/main.yml +++ b/roles/name-resolution/tasks/main.yml @@ -3,10 +3,10 @@ - name: Check for mandatory variables required by this playbook fail: msg: "This playbook requires {{item}} to be set." - when: "{{ item }} is not defined or {{ item }} == ''" + when: "item is not defined or item == ''" with_items: - lab_dns_suffix - - lab_route_suffix + - openshift_master_default_subdomain - name: Make sure each machine has an up-to-date /etc/hosts template: dest=/etc/hosts src=hosts