You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Akshay Pushparaj 4e62fa77ca added Readme and minor debug output changes 4 years ago
roles added Readme and minor debug output changes 4 years ago
README.md added Readme and minor debug output changes 4 years ago
hosts.ini nextcloud ansible playbook 4 years ago
main.yml added Readme and minor debug output changes 4 years ago
vars.yml added Readme and minor debug output changes 4 years ago

README.md

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_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