From 4968d750dd8d91b2ba58d3cef12b5f87c0aa4960 Mon Sep 17 00:00:00 2001 From: Ariejan de Vroom Date: Thu, 6 Jun 2024 23:59:08 +0200 Subject: [PATCH] Become true for sudo edits --- group_vars/all.yml | 4 +++- roles/07_user/tasks/main.yml | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/group_vars/all.yml b/group_vars/all.yml index db3bace..3b8eb80 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -39,6 +39,7 @@ packages: - rsync - screen - sudo + - tilix - tree - unrar-free - unzip @@ -60,7 +61,8 @@ flatpaks: - md.obsidian.Obsidian - com.todoist.Todoist - org.libreoffice.LibreOffice - - org.mozilla.Thunderbird + - org.mozilla.Thunderbird + - com.protonvpn.www base_fonts: - adobe-source-code-pro-fonts diff --git a/roles/07_user/tasks/main.yml b/roles/07_user/tasks/main.yml index d54533b..2e919d3 100644 --- a/roles/07_user/tasks/main.yml +++ b/roles/07_user/tasks/main.yml @@ -24,4 +24,5 @@ dest: /etc/sudoers.d/{{ user.name }} content: "{{ user.name }} ALL=(ALL:ALL) ALL" mode: 0440 - validate: /usr/sbin/visudo -cf %s \ No newline at end of file + validate: /usr/sbin/visudo -cf %s + become: true \ No newline at end of file