From 4e62fa77ca5df90ad1f27794d66149929fbff312 Mon Sep 17 00:00:00 2001 From: akshay Date: Tue, 5 Apr 2022 10:13:46 +0530 Subject: [PATCH] added Readme and minor debug output changes --- README.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a3c5549..3f84d39 100644 --- a/README.md +++ b/README.md @@ -1,26 +1,40 @@ ## Values that should be modified in vars.yml before running playbook domainname: Domain name + nc_admin_username: Nextcloud dmin username + nc_admin_pass: Nextcloud admin password + nc_root: Root folder for Nextcloud. + nc_trusted_domains: Domains/IP for accessing nextcloud. This is in dictionary format. The format for adding multiple domains is given below -> nc_trusted_domains: -> 0: example.com -> 1: example2.com +``` + nc_trusted_domains: + 0: example.com + 1: example2.com +``` nc_version: Nextcloud version which is to be downloaded #### Database configuration nc_db: Database software used. Currently supports MySQL(mysql) and PostgreSQL(pgsql) + nc_db_host: Host running database. + nc_db_name: Name of database that is used for storing nextcloud data + nc_db_user: Name of role/database user for accessing the database + nc_db_pass: Role/Database user password #### LDAP configration ldapBaseDN: Base DN for LDAP. This role uses freeipa dn structure hence the default value is cn=users,cn=accounts,dc=example,dc=com. Inorder to change the default Base DN value modify roles/nextcloud/tasks/main.yml Line 24. + ldapAgentName: DN of LDAP user that is used for ldap connection. + ldapAgentPassword: Password for the LDAP user + ldapHost: Host running ldap + ldapPort: Port for connecting to LDAP