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

View file

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