From 6ff4b81ce16d7e087f381bd8e15e0aae0be06639 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Sat, 13 Feb 2021 21:30:24 +0100 Subject: [PATCH] make it work with less variables set in the playbook --- defaults/main.yaml | 3 ++- tasks/git.yaml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/defaults/main.yaml b/defaults/main.yaml index 12b0d8c..7c50df1 100644 --- a/defaults/main.yaml +++ b/defaults/main.yaml @@ -51,7 +51,6 @@ file_browser_command: thunar calculator_command: "{{default_browser}} --new-window https://www.geogebra.org/calculator" mail_command: thunderbird -background_image: false home_copy_all_background_images: false home_autostart_terminal: true @@ -61,3 +60,5 @@ home_autostart_pasystray: "{{ home_profile != 'vdesk' }}" home_autostart_unclutter: "{{ home_profile == 'presentation' }}" default_activities: [] + +workspaces: {} diff --git a/tasks/git.yaml b/tasks/git.yaml index ad34058..b9d3f51 100644 --- a/tasks/git.yaml +++ b/tasks/git.yaml @@ -4,3 +4,5 @@ template: src: git/gitconfig.j2 dest: ~/.gitconfig + when: + - git_user_email is defined