From 26eaff0b0015601689cb0742bddc7234d4acfda2 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Wed, 3 May 2017 22:03:19 +0200 Subject: [PATCH] get rid of deprecated syntax --- roles/docker/tasks/main.yml | 2 +- roles/name-resolution/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml index d17a51c..9484a83 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 b4a51ab..7a64ecd 100644 --- a/roles/name-resolution/tasks/main.yml +++ b/roles/name-resolution/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: - lab_dns_suffix - openshift_master_default_subdomain