From 5753fcb8a1d16b1fcceb1208648bbfc24bd73b12 Mon Sep 17 00:00:00 2001 From: nicoo Date: Sun, 13 Jan 2019 00:13:41 +0100 Subject: [PATCH] ansible/base: Friendly loop indexes when setting adduser options --- ansible/roles/base/tasks/05tools.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/roles/base/tasks/05tools.yml b/ansible/roles/base/tasks/05tools.yml index 8a25597..26d92f9 100644 --- a/ansible/roles/base/tasks/05tools.yml +++ b/ansible/roles/base/tasks/05tools.yml @@ -17,6 +17,8 @@ dest: /etc/adduser.conf regexp: "^#?{{ item.key }}=" line: "{{ item.key }}={{ item.value }}" + loop_control: + label: "{{ item.key }}" - name: Deploy default configuration for tools with_dict: -- 1.7.10.4