aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/workstation.yml19
1 files changed, 7 insertions, 12 deletions
diff --git a/playbooks/workstation.yml b/playbooks/workstation.yml
index 6363a71..2a3534e 100644
--- a/playbooks/workstation.yml
+++ b/playbooks/workstation.yml
@@ -5,28 +5,23 @@
---
- hosts: localhost
- tasks:
- - debug:
- msg: RUN AS ROOT
+ pre_tasks:
+ - fail:
+ msg: must be run as root!
+ when: lookup('env', 'USER') != "root"
roles:
-
- - role: sshdns
- tags: sshdns
-
- role: _workstation/env
tags: env, always
+ - role: _workstation/sshdns
+ tags: sshdns
+
- role: _workstation/packages
tags: packages
- role: _workstation/sysconf
tags: sysconf
- #- role: _workstation/weechat-matrix
- #tags: role_workstation_weechat
- #become: true
- #become_method: su
-
- role: update
tags: update
remember that computers suck.