aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks/workstation.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/workstation.yml')
-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.