nextcloud: Bennen task-file um

This commit is contained in:
phil 2022-10-08 21:34:08 +02:00
parent 04532f4325
commit e3e6cf142b
2 changed files with 8 additions and 8 deletions

View file

@ -5,7 +5,7 @@
become_user: "{{ instance.user }}"
changed_when: true
with_indexed_items:
- '{{ nextcloud_trusted_domains }}'
- '{{ nextcloud.trusted_domains|default(instance.name) }}'
- name: "configuration: {{ instance.name }}: cron einrichten"
cron:
@ -37,13 +37,13 @@
insertbefore: '^\);'
marker_begin: mailserver
block: |2
'mail_from_address' => '{{ nextcloud_mail_from }}',
'mail_from_address' => '{{ nextcloud.mail_from }}',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => '{{ nextcloud_mail_domain }}',
'mail_smtpauthtype' => '{{ nextcloud_smtp_auth_type }}',
'mail_smtphost' => '{{ nextcloud_smtp_host }}',
'mail_smtpport' => '{{ nextcloud_smtp_port}}',
'mail_domain' => '{{ nextcloud.mail_domain }}',
'mail_smtpauthtype' => '{{ nextcloud.smtp_auth_type }}',
'mail_smtphost' => '{{ nextcloud.smtp_host }}',
'mail_smtpport' => '{{ nextcloud.smtp_port}}',
- name: "configuration: {{ instance.name }}: Filelocking"
blockinfile:
@ -66,4 +66,4 @@
become_user: "{{ instance.user }}"
changed_when: true
with_indexed_items:
- "{{ nextcloud_trusted_proxies }}"
- "{{ nextcloud.trusted_proxies }}"

View file

@ -22,7 +22,7 @@
when: nc_is_installed.stat.exists == False
tags: nextcloud
- import_tasks: nextcloud_configuration.yml
- import_tasks: configuration.yml
tags: configuration
- import_tasks: fixes.yml