aboutsummaryrefslogtreecommitdiffstats
path: root/roles/setup_security/tasks
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-06-30 19:24:22 +0200
committerbinary <me@rgoncalves.se>2020-06-30 19:24:22 +0200
commit68c01a04cd6268c1dee66678c258cd4c240d5bb1 (patch)
tree1419eec22fa637159ba5e61ae1a6d9e11408a506 /roles/setup_security/tasks
downloadinfrastructure-68c01a04cd6268c1dee66678c258cd4c240d5bb1.tar.gz
Cleanup for public release
Diffstat (limited to 'roles/setup_security/tasks')
-rw-r--r--roles/setup_security/tasks/main.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/roles/setup_security/tasks/main.yml b/roles/setup_security/tasks/main.yml
new file mode 100644
index 0000000..7d29cf5
--- /dev/null
+++ b/roles/setup_security/tasks/main.yml
@@ -0,0 +1,22 @@
+
+# =========================================================================== #
+# __ _ __
+# _________ / /__ ________ _______ _______(_) /___ __
+# / ___/ __ \/ / _ \ / ___/ _ \/ ___/ / / / ___/ / __/ / / /
+# / / / /_/ / / __/ (__ ) __/ /__/ /_/ / / / / /_/ /_/ /
+# /_/ \____/_/\___(_) /____/\___/\___/\__,_/_/ /_/\__/\__, /
+# /____/
+#
+# =========================================================================== #
+
+---
+- name: Remove default user pi
+ user:
+ name: pi
+ state: absent
+ remove: yes
+
+- name: Remove default group pi
+ group:
+ name: pi
+ state: absent
remember that computers suck.