aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-12-04 14:01:47 +0000
committerRomain Gonçalves <me@rgoncalves.se>2021-12-05 09:33:30 +0000
commit5c2e3443bedf0ef6a34888ea30361af7da314748 (patch)
treee792d59b44ef63981ccddbe39256a5f859df1f79 /playbooks
parentedf06330b130c6499cf5166d63a3d106555df513 (diff)
downloadrules-5c2e3443bedf0ef6a34888ea30361af7da314748.tar.gz
roles: Add workstation role
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/workstation.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/playbooks/workstation.yml b/playbooks/workstation.yml
new file mode 100644
index 0000000..9510b2b
--- /dev/null
+++ b/playbooks/workstation.yml
@@ -0,0 +1,9 @@
+- hosts: localhost
+
+ pre_tasks:
+ - name: verify running as root
+ fail:
+ when: ansible_user_id != "root"
+
+ roles:
+ - role: workstation
remember that computers suck.