2020-05-03 18:45:07 +02:00
|
|
|
#!/usr/bin/env ansible-playbook
|
2018-12-23 12:20:19 +01:00
|
|
|
---
|
|
|
|
# Put a common configuration on all servers
|
2019-11-01 15:38:35 +01:00
|
|
|
- hosts: all,!unifi
|
2018-12-23 12:20:19 +01:00
|
|
|
roles:
|
2019-07-22 21:04:58 +02:00
|
|
|
- baseconfig
|
|
|
|
- basesecurity
|
2019-07-22 20:57:16 +02:00
|
|
|
|
|
|
|
# Plug LDAP on all servers
|
2019-11-01 15:38:35 +01:00
|
|
|
- hosts: all,!unifi
|
2019-07-22 20:57:16 +02:00
|
|
|
roles:
|
|
|
|
- ldap-client
|
|
|
|
|
|
|
|
# Clone LDAP on local geographic location
|
|
|
|
# DON'T DO THIS AS IT RECREATES THE REPLICA
|
2020-05-04 18:49:51 +02:00
|
|
|
#- hosts: ldap_replica
|
2020-02-20 18:42:34 +01:00
|
|
|
# roles:
|
|
|
|
# - ldap-replica
|