-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathmain.yml
More file actions
273 lines (236 loc) · 10 KB
/
Copy pathmain.yml
File metadata and controls
273 lines (236 loc) · 10 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
---
owncloud_version: "10.9.0"
# @var owncloud_download_url:description: >
# You can set a custom download url especialy for the enterprise version.
# @end
owncloud_download_url: "https://download.owncloud.com/server/stable/owncloud-{{ owncloud_version }}.tar.bz2"
# owncloud_download_auth_user: #
# owncloud_download_auth_password: # defaults to not set
owncloud_install_from_filesystem: False
# @var owncloud_install_from_filesystem:example: >
# owncloud_install_from_filesystem: True
# owncloud_download_url: /tmp/owncloud-10.3.1.tar.bz2
# @end
owncloud_release_channel: production
# @var owncloud_enterprise_license_key:customer_date_hash: >
# Set your enterprise license key here to use enterprise apps
# @end
# owncloud_enterprise_license_key: #
# @var owncloud_apt_cache_update:description: >
# Automatically update apt cache on package installations.
# This setting will only applied on apt-based operating systems e.g. Ubuntu.
# @end
owncloud_apt_cache_update: False
owncloud_packages_extra: []
owncloud_autosetup: True
# @var owncloud_setup_run_once:description: >
# Run the occ setup command only once on the first host of the group. This setting is only required for
# cluster setups. If you want to install multiple standalone instances with the same play set it to `False`.
# @end
owncloud_setup_run_once: True
owncloud_admin_username: admin
owncloud_admin_password: owncloud
owncloud_system_user: "owncloud"
owncloud_system_group: "owncloud"
owncloud_system_user_home: "/var/local/{{ owncloud_system_user }}"
owncloud_system_user_shell: "/usr/sbin/nologin"
owncloud_system_user_comment: "Owncloud Application Manager"
owncloud_app_group: "{{ owncloud_system_group }}"
owncloud_occ_executable: /usr/local/bin/occ
owncloud_fqdn: owncloud.example.com
owncloud_trusted_domains:
- "{{ owncloud_fqdn }}"
owncloud_cors_allowed_domains: []
owncloud_apcu_enabled: True
owncloud_redis_enabled: True
owncloud_redis_host: "127.0.0.1"
owncloud_redis_port: 6379
# @ var owncloud_deploy_path:description: >
# Path into where the owncloud files are going to be installed. Your apache vhosts directory should use it.
# Default paths defined in vars/<ansible os family>.yml
# @end
#owncloud_deploy_path:
owncloud_src_path: "/usr/local/src/{{ owncloud_system_user }}"
owncloud_data_path: "{{ owncloud_src_path }}/data"
owncloud_config_path: "{{ owncloud_src_path }}/config"
owncloud_skeleton_path: "{{ owncloud_deploy_path }}/core/skeleton"
# Define a custom temp folder for ownCloud
# Don't set this to a system wide temp dir e.g. /tmp!!
# While creating this directory ownership will be
# limited to owncloud user/group
# owncloud_temp_path: # defaults to not set
owncloud_share_api_enabled: True
owncloud_share_api_allow_links: True
owncloud_share_api_allow_public_upload: True
owncloud_share_api_enforce_password_links_read_only: False
owncloud_share_api_enforce_password_links_read_write: False
owncloud_share_api_enforce_password_links_write_only: False
owncloud_share_api_default_expire_date: True
owncloud_share_api_enforce_expire_date: False
owncloud_share_api_expire_after_n_days: 7
owncloud_share_api_allow_public_notification: False
# owncloud_share_api_public_notification_language: en # defaults to not set
owncloud_share_api_allow_social_share: True
owncloud_share_api_auto_accept_share: False
owncloud_share_api_allow_resharing: True
owncloud_share_api_allow_group_sharing: False
owncloud_share_api_only_share_with_group_members: False
owncloud_share_api_only_share_with_membership_groups: False
owncloud_share_api_allow_mail_notification: True
owncloud_share_api_allow_share_dialog_user_enumeration: True
owncloud_share_api_share_dialog_user_enumeration_group_members: False
owncloud_federation_auto_add_servers: False
owncloud_federation_auto_accept_trusted: False
owncloud_federation_allow_outgoing_server2server_share: True
owncloud_federation_allow_incoming_server2server_share: True
# owncloud_mail_domain: example.com # defaults to not set
# owncloud_mail_from_address: owncloud # defaults to not set
# owncloud_mail_smtp_mode: smtp # defaults to not set
# owncloud_mail_smtp_host: "smtp.example.com" # defaults to not set
# owncloud_mail_smtp_port: "587" # defaults to not set
# owncloud_mail_smtp_secure: ssl # defaults to not set
owncloud_mail_smtp_auth_enabled: False
# owncloud_mail_smtp_auth_type: "PLAIN" # defaults to not set
# owncloud_mail_smtp_auth_name: admin@example.com # defaults to not set
# owncloud_mail_smtp_auth_password: "very_secure" # defaults to not set
# owncloud_password_min_lowercase:
# owncloud_password_min_length:
# owncloud_password_min_numbers:
# owncloud_password_min_special_chars:
# owncloud_password_allowed_special_chars:
# owncloud_password_min_uppercase:
# owncloud_password_link_nopassword_expiration: # (days)
# owncloud_password_link_expiration: # (days)
# owncloud_password_history_blacklist: # (number)
# owncloud_password_expiration: # (days)
# owncloud_password_expiration_notification: # (seconds)
owncloud_password_force_change_on_first_login: False
owncloud_log_type: owncloud
owncloud_log_file: "{{ owncloud_data_path }}/owncloud.log"
owncloud_log_level: 2
owncloud_log_timezone: "Etc/UTC"
owncloud_log_dateformat: "Y-m-d H:i:s.u"
owncloud_log_cron: True
# @var owncloud_log_rotate_size:description: >
# Log rotate file size in bytes
# See [documentation](https://doc.owncloud.com/server/latest/admin_manual/configuration/server/config_sample_php_parameters.html#define-the-maximum-log-rotation-file-size)
# @end
owncloud_log_rotate_size: 0
owncloud_syslog_tag: ownCloud
owncloud_syslog_log_format: "[%reqId%][%remoteAddr%][%user%][%app%][%method%][%url%] %message%"
owncloud_db_type: mysql
owncloud_db_host: "localhost"
owncloud_db_name: owncloud
owncloud_db_user: owncloud
owncloud_db_password: owncloud
owncloud_db_tableprefix: oc_
owncloud_version_hide: True
owncloud_show_server_hostname: False
owncloud_knowledgebase_enabled: True
owncloud_enable_avatars: True
owncloud_allow_user_to_change_display_name: True
owncloud_web_default_language: "en_US"
owncloud_default_app: files
owncloud_medial_search_accounts_enabled: True
owncloud_search_min_length: 3
## List of apps to be ignored
owncloud_integrity_ignore_missing_app_signature: []
## Defaults to 15 days
owncloud_remember_login_cookie_lifetime: 1296000
## Default to 24 hours
owncloud_session_lifetime: 86400
## Enabling this sends a "heartbeat" to the server to keep it from timing out
owncloud_session_keepalive_enabled: True
## Enforces token only authentication for apps and clients connecting to ownCloud
owncloud_token_auth_enforced: False
# @var owncloud_login_alternatives:description: >
# Allows to specify additional login buttons on the logon screen (e.g. SSO)
# @end
owncloud_login_alternatives: []
# @var owncloud_csrf_enabled:description: >
# Be careful!
# See [documentation](https://doc.owncloud.com/server/latest/admin_manual/configuration/server/config_sample_php_parameters.html#disable-ownclouds-built-in-csrf-protection-mechanism)
# @end
owncloud_csrf_enabled: True
# @var owncloud_config_extra:description: >
# For availabe configuration options see:
# [documentation](https://doc.owncloud.com/server/latest/admin_manual/configuration/server/config_sample_php_parameters.html)
# For nested values YAML dictionaries need to be used, see example for an OpenID Connect configuration below.
# @end
# @var owncloud_config_extra:example: >
# owncloud_config_extra:
# - http.cookie.samesite: "None"
# - openid-connect:
# auto-provision:
# enabled: true
# email-claim: "email"
# display-name-claim: "name"
# provider-url: "https://example.com"
# client-id: "myclientid"
# client-secret: "mysecret"
# autoRedirectOnLoginPage: false
# mode: "email"
# scopes: []
# use-access-token-payload-for-user-info: false
# @end
owncloud_config_extra: {}
owncloud_upgrade_migration_test: True
owncloud_upgrade_3party_app_disable: True
# @var owncloud_cron_backend:description: >
# Possible values are `webcron|cron|ajax`. See the [documentation](https://doc.owncloud.com/server/latest/admin_manual/configuration/server/background_jobs_configuration.html#cron-jobs)
# documentation for details.
# @end
owncloud_cron_backend: cron
# @var owncloud_cron_jobs:description: >
# Will be applied only if `owncloud_cron_backend` is set to `cron`. All cronjobs are written to a single crontab `/etc/cron.d/owncloud`.
# @end
owncloud_cron_jobs:
- name: oc cron
job: "{{ owncloud_occ_executable }} system:cron"
minute: "*/15"
- name: occ cleanup chunks
job: "{{ owncloud_occ_executable }} dav:cleanup-chunks"
minute: "0"
hour: "2"
# owncloud_imprint_url: example.com/impressum # defaults to not set
# owncloud_privacy_policy_url: example.com/impressum # defaults to not set
# @var owncloud_apps_deprecated:description: >
# To disable deprecated apps before a version upgrade we are introducing
# this new env variables. This way the admin can control which app gets
# properly disabled before an upgrade gets applies.
# @end
owncloud_apps_deprecated: []
# @var owncloud_apps:example: >
# owncloud_apps:
# - name: contacts
# - name: http://market.owncloud.local/carnet-0.16.2.tar.gz
# from_url: yes
# url_username: my_user
# url_password:my_password
# force_basic_auth: true
# state: present
# - name: unwanted_app
# enabled: false
# @end
owncloud_apps:
- name: twofactor_totp
- name: password_policy
owncloud_app_documents_provider: onlyoffice
owncloud_app_documents_enabled: False
# @var owncloud_apps_config:description: >
# Manages ownCloud system and app configuration. The name attribute holds the name of the app which is either `system` or `<app_name>`.
# The `attribute` in the parameters dictionary hold the attribute of the app and `value` the new value to set.
# @end
# @var owncloud_apps_config:example: >
# owncloud_apps_config:
# - name: files
# parameters:
# - attribute: default_quota
# value: "0 B"
# @end
owncloud_apps_config: []
# @var owncloud_encryption_enabled:description: >
# Only supported for ownCloud >= 10.2.1
# @end
owncloud_encryption_enabled: False
owncloud_encryption_force_encrypt_all: False