aboutsummaryrefslogtreecommitdiff
path: root/master.yml
blob: 6aa28ea9c5de1b3f60bbbf80aeab2d242790eb4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
- name: All hosts
  hosts: all 
  remote_user: root
  roles:
    - ad
    - resolv_conf
    - ssh
    - ssh_keys
    - sudo
    - ldap_certs
  vars:
    ssh_key_files:
      - { user: 'bgstack15', file: '../../../company/pubkeys/bgstack15.pubkeys' }
    sudo_files:
      - { exists: 'false', file: '../../../company/sudo-files/40_BGSTACK15' }
    ldap_certs:
      - { exists: 'true', gets_hashlink: 'true', file: '../../../company/ldap_certs-files/certs-example-2016.pem' }

- name: Webservers
  hosts: webservers
  remote_user: root
  roles:
    - fail2ban
bgstack15