mise à jour du code selon ansible-lint
[lhc/ansible.git] / templates / config_template.j2
diff --git a/templates/config_template.j2 b/templates/config_template.j2
new file mode 100644 (file)
index 0000000..88db3f4
--- /dev/null
@@ -0,0 +1,35 @@
+<?php
+$CONFIG = array (
+  'appstoreenabled' => false,
+  'trusted_domains' => 
+  array (
+    0 => 'nuage.migration.org',
+  ),
+  'datadirectory' => '{{ nextcloud_webroot}}/data',
+  'overwrite.cli.url' => 'https://nuage.migration.org',
+  'dbtype' => 'pgsql',
+  'dbname' => '{{ nextcloud_db_name }}',
+  'dbhost' => '/run/postgresql',
+  'dbport' => '',
+  'dbtableprefix' => 'oc_',
+  'dbuser' => '{{ nextcloud_websrv_user}}',
+  'dbpassword' => '',
+  'installed' => true,
+  'apps_paths' => 
+  array (
+    0 => 
+    array (
+      'path' => '{{ nextcloud_webroot}}/nextcloud/apps/',
+      'url' => '/apps',
+      'writable' => false,
+    ),
+    1 => 
+    array (
+      'path' => '{{ nextcloud_webroot}}/common/',
+      'url' => '/common-apps',
+      'writable' => false,
+    ),
+  ),
+  'theme' => '',
+  'loglevel' => 2,
+);