48 lines
930 B
Markdown
48 lines
930 B
Markdown
Role Name
|
|
=========
|
|
|
|
Quick and dirty playbook to install phpldapadmin
|
|
|
|
We are using leenooks' fork
|
|
|
|
Requirements
|
|
------------
|
|
|
|
Apache +php needed
|
|
|
|
Role Variables
|
|
--------------
|
|
|
|
pla_baseddn
|
|
pla_install_dir - default /var/www/html
|
|
pla_version - default 1.2.6.3
|
|
pla_basedn - no default
|
|
pla_ldap_server - default {{ localhost }}
|
|
pla_bind_dn - "{{ lookup( 'keepass', '{{ group_names[0] }}/{{ inventory_hostname }})pla_dn', 'username' ) }}"
|
|
pla_bin_pwd: "{{ lookup( 'keepass', '{{ group_names[0] }}/{{ inventory_hostname }})pla_dn', 'password' ) }}"
|
|
|
|
Dependencies
|
|
------------
|
|
|
|
none
|
|
|
|
Example Playbook
|
|
----------------
|
|
|
|
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
|
|
|
|
- hosts: servers
|
|
roles:
|
|
- { role: phpldapadmin, basedn: dc=ldx }
|
|
|
|
License
|
|
-------
|
|
|
|
BSD
|
|
|
|
Author Information
|
|
------------------
|
|
|
|
Thomas Constans <thomas@opendoor.fr>
|
|
|