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
|
2021-11-27 20:05:14 +01:00
|
|
|
- update_motd
|
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:
|
2020-11-04 19:36:40 +01:00
|
|
|
- ldap_client
|
2021-01-23 14:35:03 +01:00
|
|
|
|
|
|
|
# Install logrotate
|
2021-01-23 15:12:28 +01:00
|
|
|
- hosts: all,!unifi,!pve
|
2021-01-23 14:35:03 +01:00
|
|
|
roles:
|
|
|
|
- logrotate
|