From 973ecb7bac62b088c400aa674f5fbd5483e19f91 Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Tue, 7 Jun 2016 11:32:17 +0000 Subject: [PATCH] Remove bare variable from with_items This is to avoid getting a deprecation warning Change-Id: I7da86832d02b00c94d62c2188c2615c91fb7958b --- roles/set_hostnames/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/set_hostnames/tasks/main.yml b/roles/set_hostnames/tasks/main.yml index ecb4016..24cba00 100644 --- a/roles/set_hostnames/tasks/main.yml +++ b/roles/set_hostnames/tasks/main.yml @@ -19,4 +19,4 @@ line='{{ server_ip }} {{ item }} {{ server_hostname }}' insertafter='^127\.0\.0\.1' state=present - with_items: groups['infra'] + with_items: "{{ groups['infra'] }}"