From b1f371ec9d587e3727e85afe34473ed154d1fc48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Tue, 13 Feb 2024 23:10:06 +0100 Subject: feat(roles/nextcloud): automate with occ --- roles/nextcloud/meta/main.yml | 66 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) (limited to 'roles/nextcloud/meta') 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 -- cgit v1.2.3