aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks/workstation.yml
blob: 2a3534e988b713ce94ed7993bc78550c65ed6114 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

# workstation ~~ playbooks/workstation.yml
# wokrstation initialization

---

- hosts: localhost
  pre_tasks:
    - fail:
        msg: must be run as root!
      when: lookup('env', 'USER') != "root"

  roles:
    - role: _workstation/env
      tags: env, always

    - role: _workstation/sshdns
      tags: sshdns

    - role: _workstation/packages
      tags: packages

    - role: _workstation/sysconf
      tags: sysconf

    - role: update
      tags: update
remember that computers suck.