Add LDAP replica role

This commit is contained in:
Alexandre Iooss 2019-01-03 12:48:34 +01:00
parent 3b80c3fda3
commit e4da3088b4
4 changed files with 14 additions and 1 deletions

3
.gitmodules vendored
View file

@ -4,3 +4,6 @@
[submodule "roles/ldap-client"]
path = roles/ldap-client
url = git@gitlab.federez.net:erdnaxe/ansible-role-ldap-client.git
[submodule "roles/ldap-replica"]
path = roles/ldap-replica
url = git@gitlab.federez.net:erdnaxe/ansible-role-ldap-replica.git

4
hosts
View file

@ -51,3 +51,7 @@ fleming-vm-ldap-replica
ovh-pve
fleming-pve
# every LDAP replica
[ldap-replica:children]
fleming-vm-ldap-replica

View file

@ -2,5 +2,10 @@
# Plug LDAP on all servers
- hosts: all
roles:
- ldap-client
- ldap-client
# Clone LDAP on local geographic location
- hosts: ldap-replica
roles:
- ldap-replica

1
roles/ldap-replica Submodule

@ -0,0 +1 @@
Subproject commit 5e682a87397110609026d743ac76e8a18cc5f166