aboutsummaryrefslogblamecommitdiffstats
path: root/playbooks/workstation.yml
blob: 2a3534e988b713ce94ed7993bc78550c65ed6114 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11






                                          



                                           
 
        
                            
                       
 


                               
                                 
                    

                                
                   
 
                  
                  

# 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.