From 5591d8dc593be1c7be48a9380f0010a3ebc03a44 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Thu, 25 Feb 2016 17:38:17 +0100
Subject: [PATCH] Remove deprecation warnings from Ansible 2.0.1.0

---
 tasks/cleanup.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tasks/cleanup.yml b/tasks/cleanup.yml
index 058b620..6207349 100644
--- a/tasks/cleanup.yml
+++ b/tasks/cleanup.yml
@@ -13,16 +13,16 @@
   command: usermod --unlock {{item.split(':').0}}
   when: item.split(':').0 in users
     and item.split(':').2|int > 499
-  with_items: passwd.stdout_lines
+  with_items: '{{ passwd.stdout_lines }}'
 
 - name: "Lock deprecated user accounts"
   command: usermod --lock {{item.split(':').0}}
   when: item.split(':').0 not in users
     and item.split(':').2|int > 499
-  with_items: passwd.stdout_lines
+  with_items: '{{ passwd.stdout_lines }}'
 
 - name: "Disable ssh keys for deprecated user accounts"
   command: rm {{item.split(':').5}}/.ssh/authorized_keys
   when: item.split(':').0 not in users
     and item.split(':').2|int > 499
-  with_items: passwd.stdout_lines
+  with_items: '{{ passwd.stdout_lines }}'
-- 
GitLab