Added base for playbook and appended vars
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
- name: Temporary workaround for sudo-rs
|
||||
hosts: nextcloud
|
||||
gather_facts: false
|
||||
become: false
|
||||
tasks:
|
||||
- name: Detect sudo variant
|
||||
ansible.builtin.raw: command -v sudo.ws || true
|
||||
register: sudo_ws_check
|
||||
changed_when: false
|
||||
|
||||
- name: Set become_exe fact based on sudo variant present
|
||||
ansible.builtin.set_fact:
|
||||
ansible_become_exe: "{{ 'sudo.ws' if sudo_ws_check.stdout | trim | length > 0 else 'sudo' }}"
|
||||
|
||||
+30
-8
@@ -1,3 +1,7 @@
|
||||
########################################
|
||||
# Nextcloud
|
||||
########################################
|
||||
|
||||
# Recommended to use the latest stable version.
|
||||
nextcloud_version: "34.0.1"
|
||||
|
||||
@@ -6,18 +10,17 @@ nextcloud_version: "34.0.1"
|
||||
# The files that you will have to change are:
|
||||
# - /etc/nextcloud/config/config.php
|
||||
# - /etc/apache2/sites-available/nextcloud.conf
|
||||
nextcloud_domain: "cloud.test.local"
|
||||
nextcloud_domain: "cloud.example.com"
|
||||
|
||||
# /etc/nextcloud is recommendet as the install dir by the hardening guide! Normally you can leave this as the default.
|
||||
nextcloud_install_dir: "/etc/nextcloud"
|
||||
nextcloud_data_dir: "/etc/nextcloud/data"
|
||||
|
||||
|
||||
nc_db_name: "nextcloud"
|
||||
nc_db_user: "nextcloud"
|
||||
nc_db_password: "Start2026!"
|
||||
nc_db_password: "ChangeMe1234_"
|
||||
nc_admin_user: "admin"
|
||||
nc_admin_password: "Start2026!"
|
||||
nc_admin_password: "ChangeMe1234_"
|
||||
|
||||
# It is recommended to check what the php requirements are for the Nextcloud version you want to install. The default is set to 8.5, which is the recommended version as of July 2026.
|
||||
nc_php_version: "8.3"
|
||||
@@ -33,12 +36,31 @@ nc_maintenance_window_start: 1
|
||||
# The fail2ban configuration directory. This is normally /etc/fail2ban, but can be changed if you have a custom setup.
|
||||
fail2ban_dir: "/etc/fail2ban"
|
||||
|
||||
# The domain of your Collabora COPE server.
|
||||
collabora_code_domain: "172.30.170.15"
|
||||
########################################
|
||||
# Collabora CODE
|
||||
########################################
|
||||
|
||||
# The admin password for your Collabora COPE server.
|
||||
collabora_admin_password: "Start2026!"
|
||||
# The domain of your Collabora CODE server.
|
||||
collabora_code_domain: "office.example.com"
|
||||
|
||||
# The admin password for your Collabora CODE server.
|
||||
collabora_admin_password: "ChangeMe1234_"
|
||||
|
||||
# Nextcloud TLS certificate paths
|
||||
cc_ssl_cert: "/etc/ssl/certs/collabora-selfsigned.crt"
|
||||
cc_ssl_key: "/etc/ssl/private/collabora-selfsigned.key"
|
||||
|
||||
########################################
|
||||
# Open-Xchange
|
||||
########################################
|
||||
|
||||
# The domain of your Open-Xchange server.
|
||||
openxchange_domain: "mail.example.com"
|
||||
|
||||
# IMAP and SMTP ports for Open-Xchange. Adjust if you have a custom setup.
|
||||
openxchange_imap_port: 993
|
||||
openxchange_smtp_port: 587
|
||||
|
||||
# Whether to use STARTTLS or SSL for SMTP. Adjust according to your Open-Xchange configuration.
|
||||
openxchange_smtp_starttls: true
|
||||
openxchange_smtp_ssl: true
|
||||
Reference in New Issue
Block a user