preparations for installation preconf nextcloud
This commit is contained in:
@@ -12,6 +12,7 @@ microcode_intel_install: true
|
|||||||
|
|
||||||
# purpose selection
|
# purpose selection
|
||||||
nextcloud: true
|
nextcloud: true
|
||||||
|
nc_preconfigured: true
|
||||||
database: false
|
database: false
|
||||||
mysql: false
|
mysql: false
|
||||||
postgresql: false
|
postgresql: false
|
||||||
|
|||||||
@@ -1 +1,14 @@
|
|||||||
- import_tasks: apps/nextcloud/prereq.yml
|
- import_vars: nextcloud.yml
|
||||||
|
- import_tasks: apps/nextcloud/prereq.yml
|
||||||
|
|
||||||
|
- name: webserver | nextcloud | get tar ball
|
||||||
|
uri:
|
||||||
|
url: "https://download.nextcloud.com/server/releases/latest.zip"
|
||||||
|
dest: "/tmp/nextcloud_latest.zip"
|
||||||
|
|
||||||
|
- name: webserver | nextcloud | extract archive
|
||||||
|
unarchive:
|
||||||
|
src: "/tmp/nextcloud_latest.zip"
|
||||||
|
dest: "/var/www/nextcloud/"
|
||||||
|
owner: "{{ webuser }}"
|
||||||
|
|
||||||
60
roles/webserver/templates/nextcloud/config.php.j2
Normal file
60
roles/webserver/templates/nextcloud/config.php.j2
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
<?php
|
||||||
|
$CONFIG = array (
|
||||||
|
'instanceid' => '{{ instanceid }}',
|
||||||
|
'passwordsalt' => '{{ passwordsalt }}',
|
||||||
|
'trusted_domains' =>
|
||||||
|
array (
|
||||||
|
0 => 'tantooine.myfirewall.org',
|
||||||
|
1 => 'geonosis.universe.local',
|
||||||
|
2 => 'geonosis',
|
||||||
|
),
|
||||||
|
'datadirectory' => '/Daten/owncloud/data/',
|
||||||
|
'dbtype' => 'mysql',
|
||||||
|
'version' => '24.0.2.1',
|
||||||
|
'dbname' => '{{ dbname }}',
|
||||||
|
'dbhost' => '{{ dbhost }}',
|
||||||
|
'dbtableprefix' => '{{ dbtableprefix }}',
|
||||||
|
'dbuser' => '{{ dbuser }}',
|
||||||
|
'dbpassword' => '{{ dbpassword }}',
|
||||||
|
'default_phone_region' => 'DE',
|
||||||
|
'installed' => true,
|
||||||
|
'theme' => '',
|
||||||
|
'maintenance' => true,
|
||||||
|
'secret' => '{{ secret }}',
|
||||||
|
'ldapIgnoreNamingRules' => false,
|
||||||
|
'forcessl' => true,
|
||||||
|
'forceSSLforSubdomains' => true,
|
||||||
|
'overwrite.cli.url' => 'https://tantooine.myfirewall.org/nextcloud',
|
||||||
|
'mail_smtpmode' => 'smtp',
|
||||||
|
'mail_from_address' => '{{ mail_from_address }}',
|
||||||
|
'mail_domain' => '{{ mail_domain }}',
|
||||||
|
'mail_smtphost' => '{{ mail_smtphost }}',
|
||||||
|
'mail_smtpport' => '{{ mail_smtpport }}',
|
||||||
|
'has_internet_connection' => true,
|
||||||
|
'updatechecker' => true,
|
||||||
|
'memcache.local' => '\\OC\\Memcache\\APCu',
|
||||||
|
'check_for_working_htaccess' => true,
|
||||||
|
'loglevel' => 0,
|
||||||
|
'log_rotate_size' => 104857600,
|
||||||
|
'trashbin_retention_obligation' => 'auto, auto',
|
||||||
|
'updater.release.channel' => 'stable',
|
||||||
|
'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
|
||||||
|
'mail_smtpauthtype' => 'LOGIN',
|
||||||
|
'integrity.check.disabled' => true,
|
||||||
|
'redis' =>
|
||||||
|
array (
|
||||||
|
'host' => 'localhost',
|
||||||
|
'port' => '6379',
|
||||||
|
'timeout' => 1.5,
|
||||||
|
),
|
||||||
|
'mysql.utf8mb4' => true,
|
||||||
|
'app_install_overwrite' =>
|
||||||
|
array (
|
||||||
|
0 => 'calendar',
|
||||||
|
1 => 'tasks',
|
||||||
|
2 => 'ocsms',
|
||||||
|
3 => 'files_readmemd',
|
||||||
|
),
|
||||||
|
'encryption.legacy_format_support' => false,
|
||||||
|
'encryption.key_storage_migrated' => false,
|
||||||
|
);
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
apache_package: apache2
|
apache_package: apache2
|
||||||
nginx_package: nginx
|
nginx_package: nginx
|
||||||
acme_package: acme
|
acme_package: acme
|
||||||
|
webuser: www-data
|
||||||
|
|
||||||
nextcloud_php_packages:
|
nextcloud_php_packages:
|
||||||
- package: php8.0
|
- package: php8.0
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
apache_package: apache2
|
apache_package: apache2
|
||||||
nginx_package: nginx
|
nginx_package: nginx
|
||||||
acme_package: acme
|
acme_package: acme
|
||||||
|
webuser: www-data
|
||||||
|
|
||||||
nextcloud_php_packages:
|
nextcloud_php_packages:
|
||||||
- package: php8.0
|
- package: php8.0
|
||||||
|
|||||||
26
roles/webserver/vars/nextcloud.yml
Normal file
26
roles/webserver/vars/nextcloud.yml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
|
37353535366162623439373564306434376564326462326139323131333664663937313634313665
|
||||||
|
6564393039653231663433646630646462306266666435310a303632646636356139656561323933
|
||||||
|
63376565643266313563393135363033383234323031626465346335393762306139613261663664
|
||||||
|
3339393161666262340a373562646538336137323833303139343331356266373064353361646533
|
||||||
|
34363566646433333534313866323839623466306132613734356263393763666638373364633931
|
||||||
|
66303035663035306131633639376236393966346566616334616536313134623933316338373133
|
||||||
|
33626232303838633132613732653331626531336366383166313833353062656331376637336161
|
||||||
|
32666439303238333365323538636636346134383337383433303863623965316430643730303230
|
||||||
|
62363737633763363035346531643332343935363432326630323735356131376636343830366434
|
||||||
|
35386661383833376663333031373764613739626165626132653632346430633166393436313731
|
||||||
|
39646538346438666134633539666436643961353639393761326132366239363231316631613663
|
||||||
|
63313733363435353965626465623935383062656635396534373538323931616135373865336632
|
||||||
|
33333931353637663838333039613063353562346134663037396138323733323261663036363634
|
||||||
|
63383966326138346539653932383632356465393962383265626336643538396466323934633634
|
||||||
|
64663865633063613433306332306234303635346634303937643935373035353337373637626262
|
||||||
|
66666535653965333161386665613034613835646438326161643766653232303430333636646633
|
||||||
|
38363335313136393533616366323533663939643230626238616632353130666537336661633432
|
||||||
|
39333430663563633866636436363937363634303462373065303363373231346236303931636230
|
||||||
|
64643464306663313231326665373264323030343831366532643438666463646236643939316631
|
||||||
|
34383335326438633364356338353334353061333565376631356263663465623866656635383030
|
||||||
|
34303932393666316562653435343166393436376135613466663366393033333938376230383139
|
||||||
|
35373434653866313233363037666431316630316166656638616634636339383834653265333034
|
||||||
|
64303138336166663732633134343164373135386135666164373462633530636231303139653863
|
||||||
|
30386239663861666565366361633565336333313065373130623063363235653963373564313434
|
||||||
|
3430
|
||||||
Reference in New Issue
Block a user