Add LDAP replica role
This commit is contained in:
parent
3b80c3fda3
commit
e4da3088b4
4 changed files with 14 additions and 1 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -4,3 +4,6 @@
|
||||||
[submodule "roles/ldap-client"]
|
[submodule "roles/ldap-client"]
|
||||||
path = roles/ldap-client
|
path = roles/ldap-client
|
||||||
url = git@gitlab.federez.net:erdnaxe/ansible-role-ldap-client.git
|
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
4
hosts
|
@ -51,3 +51,7 @@ fleming-vm-ldap-replica
|
||||||
ovh-pve
|
ovh-pve
|
||||||
fleming-pve
|
fleming-pve
|
||||||
|
|
||||||
|
# every LDAP replica
|
||||||
|
[ldap-replica:children]
|
||||||
|
fleming-vm-ldap-replica
|
||||||
|
|
||||||
|
|
7
ldap.yml
7
ldap.yml
|
@ -2,5 +2,10 @@
|
||||||
# Plug LDAP on all servers
|
# Plug LDAP on all servers
|
||||||
- hosts: all
|
- hosts: all
|
||||||
roles:
|
roles:
|
||||||
- ldap-client
|
- ldap-client
|
||||||
|
|
||||||
|
# Clone LDAP on local geographic location
|
||||||
|
- hosts: ldap-replica
|
||||||
|
roles:
|
||||||
|
- ldap-replica
|
||||||
|
|
||||||
|
|
1
roles/ldap-replica
Submodule
1
roles/ldap-replica
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 5e682a87397110609026d743ac76e8a18cc5f166
|
Loading…
Reference in a new issue