aboutsummaryrefslogtreecommitdiffstats
path: root/roles/nextcloud/meta
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2024-02-13 23:10:06 +0100
committerRomain Gonçalves <me@rgoncalves.se>2024-02-13 23:16:09 +0100
commitb1f371ec9d587e3727e85afe34473ed154d1fc48 (patch)
tree8bdb6ba50c499d77262bfa9cb5a845353c9cdcd4 /roles/nextcloud/meta
parent2a53a9778d87e6f525c6cf4f23052f1f3d35911e (diff)
downloadrules-b1f371ec9d587e3727e85afe34473ed154d1fc48.tar.gz
feat(roles/nextcloud): automate with occ
Diffstat (limited to 'roles/nextcloud/meta')
-rw-r--r--roles/nextcloud/meta/main.yml66
1 files changed, 66 insertions, 0 deletions
diff --git a/roles/nextcloud/meta/main.yml b/roles/nextcloud/meta/main.yml
index 246fc09..0ad3396 100644
--- a/roles/nextcloud/meta/main.yml
+++ b/roles/nextcloud/meta/main.yml
@@ -2,6 +2,8 @@
dependencies:
- role: httpd_pre
+ - role: redis
+ - role: postgresql
argument_specs:
main:
@@ -18,7 +20,71 @@ argument_specs:
required: true
description: Package name to be installed
+ nextcloud__package_dependencies:
+ type: list
+ elements: str
+ required: true
+ description: Extra packages
+
nextcloud__domain_name:
type: str
required: true
description: Domain name
+
+ nextcloud__db_name:
+ type: str
+ required: true
+
+ nextcloud__db_password:
+ type: str
+ required: true
+
+ nextcloud__db_user:
+ type: str
+ required: true
+
+ nextcloud__db_host:
+ type: str
+ required: true
+
+ nextcloud__data_dir:
+ type: str
+ required: true
+
+ nextcloud__owned_directories:
+ type: str
+ required: true
+
+ nextcloud__admin_password:
+ type: str
+ required: true
+
+ nextcloud__admin_name:
+ type: str
+ required: true
+
+ nextcloud__admin_email:
+ type: str
+ required: true
+
+ nextcloud__php_service_name:
+ type: str
+ required: true
+
+ nextcloud__php_configuration_file:
+ type: str
+ required: true
+
+ nextcloud__php_settings:
+ type: list
+ elements: dict
+ options:
+ section:
+ type: str
+ required: true
+ option:
+ type: str
+ required: true
+ value:
+ type: str
+ required: true
remember that computers suck.