summaryrefslogtreecommitdiff
path: root/roles/slim
diff options
context:
space:
mode:
Diffstat (limited to 'roles/slim')
-rw-r--r--roles/slim/raspbian/tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/slim/raspbian/tasks/main.yml b/roles/slim/raspbian/tasks/main.yml
index eb583c6e..8f41dff1 100644
--- a/roles/slim/raspbian/tasks/main.yml
+++ b/roles/slim/raspbian/tasks/main.yml
@@ -24,6 +24,11 @@
remove: yes
force: yes
+- name: remove sudoers config for pi user
+ file:
+ path: /etc/sudoers.d/010_pi-nopasswd
+ state: absent
+
- name: set hostname
hostname:
name: "{{ host_name }}"