diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-05-25 01:53:32 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-05-25 01:53:32 +0200 |
commit | 6990578b4459620f9cf28e90bc16261ff0ec64e3 (patch) | |
tree | 03a484a689d2aad01669ec8f3c1d31a6fbd4cc3b /roles | |
parent | Merge branch 'ansible-2.8' (diff) |
make output of some loops nicer
Diffstat (limited to 'roles')
-rw-r--r-- | roles/base/tasks/main.yml | 2 | ||||
-rw-r--r-- | roles/zsh/tasks/main.yml | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index d9777ed1..3c480213 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -83,6 +83,8 @@ reload: yes ignoreerrors: yes with_dict: "{{ sysctl_config | combine(sysctl_config_user) }}" + loop_control: + label: "{{ item.key }} = {{ item.value }}" - name: install extra packages apt: diff --git a/roles/zsh/tasks/main.yml b/roles/zsh/tasks/main.yml index 9924b44b..e19f5366 100644 --- a/roles/zsh/tasks/main.yml +++ b/roles/zsh/tasks/main.yml @@ -9,8 +9,12 @@ src: "{{ item.src }}" dest: "{{ item.dest }}" with_items: - - { src: "zshrc", dest: "/etc/zsh/zshrc" } - - { src: "zshrc.skel", dest: "/etc/skel/.zshrc" } + - src: "zshrc" + dest: "/etc/zsh/zshrc" + - src: "zshrc.skel" + dest: "/etc/skel/.zshrc" + loop_control: + label: "{{ item.dest }}" - name: set zsh as default shell user: |