aboutsummaryrefslogtreecommitdiffstats
path: root/roles/raspbian/tasks/remove_pi.yml
blob: e67393e92003851d728512e1dc02f85fa289ab26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
- name: Remove pi user
  user:
    name: pi
    state: absent
    remove: true

- name: Remove pi sudoers rule
  file:
    path: '/etc/sudoers.d/010_pi-nopasswd'
    state: absent

# vim: set ts=2 sw=2 et: