56 lines
1.0 KiB
Markdown
56 lines
1.0 KiB
Markdown
Role Name
|
|
=========
|
|
|
|
Quick and dirty playbook to install phpldapadmin
|
|
|
|
We are using leenooks' fork
|
|
|
|
Requirements
|
|
------------
|
|
|
|
Apache +php needed
|
|
|
|
Role Variables
|
|
--------------
|
|
|
|
pla_basedn - no default
|
|
pla_install_dir - default /var/www/html
|
|
pla_version - default 1.2.6.7
|
|
pla_ldap_server - default {{ localhost }}
|
|
pla_install_dir_owner - default pla, should probably be "{{ php_fpm_pool_user }}"
|
|
|
|
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: tco.php-fpm
|
|
¦tags: pla,wips
|
|
¦vars:
|
|
¦ php_packages:
|
|
¦ ¦ - php8.1-ldap
|
|
¦ ¦ - php8.1-xml
|
|
¦ php_version: "8.1"
|
|
¦ php_fpm_create_pool: true
|
|
¦ php_fpm_pool_user: selfservicepassword
|
|
¦ php_fpm_listen_socket: /srv/pla/socket
|
|
- { role: phpldapadmin, basedn: dc=ldx }
|
|
|
|
License
|
|
-------
|
|
|
|
BSD
|
|
|
|
Author Information
|
|
------------------
|
|
|
|
Thomas Constans <thomas@opendoor.fr>
|
|
|