From: nicoo Date: Sat, 12 Jan 2019 23:13:41 +0000 (+0100) Subject: ansible/base: Friendly loop indexes when setting adduser options X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;ds=sidebyside;h=5753fcb8a1d16b1fcceb1208648bbfc24bd73b12;hp=6b61708de3c8da34308aa7b4bf7e5694fcf7c8fe;p=noc.git ansible/base: Friendly loop indexes when setting adduser options --- 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: