From 1af1aae772fdef60db245319d9f63894447f59fb Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Thu, 2 Jan 2020 20:06:29 +0100 Subject: [PATCH] Fix: try to loop over me --- tasks/arch_gnome.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/tasks/arch_gnome.yml b/tasks/arch_gnome.yml index 44ff115..5e1447c 100644 --- a/tasks/arch_gnome.yml +++ b/tasks/arch_gnome.yml @@ -75,39 +75,45 @@ key: "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/binding" value: "'Return'" state: present - become_user: "{{ me[0].username }}" + become_user: "{{ item.username }}" + with_items: "{{ me }}" - name: to fire a terminal - command dconf: key: "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/command" value: "'st'" state: present - become_user: "{{ me[0].username }}" + become_user: "{{ item.username }}" + with_items: "{{ me }}" - name: to fire a terminal - name dconf: key: "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/name" value: "'Terminal'" state: present - become_user: "{{ me[0].username }}" + become_user: "{{ item.username }}" + with_items: "{{ me }}" - name: Shell theme dconf: key: "/org/gnome/shell/extensions/user-theme/name" value: "'Plata-Noir-Compact'" state: present - become_user: "{{ me[0].username }}" + become_user: "{{ item.username }}" + with_items: "{{ me }}" - name: Gtk theme dconf: key: "/org/gnome/desktop/interface/get-theme" value: "'plata-Noir-Compact'" state: present - become_user: "{{ me[0].username }}" + become_user: "{{ item.username }}" + with_items: "{{ me }}" - name: Icon theme dconf: key: "/org/gnome/desktop/interface/get-theme" value: "'Tela-orange-dark'" state: present - become_user: "{{ me[0].username }}" + become_user: "{{ item.username }}" + with_items: "{{ me }}"