diff options
author | Emil Renner Berthing <esmil@labitat.dk> | 2018-10-03 15:33:14 +0200 |
---|---|---|
committer | Emil Renner Berthing <esmil@labitat.dk> | 2018-10-03 21:08:13 +0200 |
commit | 2013899ce249fd316d7b3df9a4d79b8936bf0b1c (patch) | |
tree | 892fc890bc69a1bccd5a56b8f35615dbafa9a0d4 /roles/raspbian/tasks/remove_pi.yml | |
parent | d73f54e7e56f689fa3dc69e5a54f078c9680c337 (diff) | |
download | labitat-ansible-2013899ce249fd316d7b3df9a4d79b8936bf0b1c.tar.gz labitat-ansible-2013899ce249fd316d7b3df9a4d79b8936bf0b1c.tar.xz labitat-ansible-2013899ce249fd316d7b3df9a4d79b8936bf0b1c.zip |
raspbian: add basic Raspbian role
..which just extends the Debian role with a bit
of cleanup and config to save on sd-card writes
Diffstat (limited to 'roles/raspbian/tasks/remove_pi.yml')
-rw-r--r-- | roles/raspbian/tasks/remove_pi.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/raspbian/tasks/remove_pi.yml b/roles/raspbian/tasks/remove_pi.yml new file mode 100644 index 0000000..e67393e --- /dev/null +++ b/roles/raspbian/tasks/remove_pi.yml @@ -0,0 +1,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: |