nextcloud: Korrigiere lint-Warnungen

This commit is contained in:
phil 2022-12-31 13:37:28 +01:00
parent 609a681710
commit c16dfca4c0

View file

@ -1,22 +1,22 @@
---
- name: "configuration: {{ instance.name }}: trusted domains einrichten"
command: 'php {{ nextcloud_install_path }}/occ config:system:set trusted_domains {{ item.0 }} --value "{{ item.1 }}"'
- name: "Configuration | Richte trusted domains ein | {{ instance.name }}"
ansible.builtin.command: 'php {{ nextcloud_install_path }}/occ config:system:set trusted_domains {{ item.0 }} --value "{{ item.1 }}"'
become: true
become_user: "{{ instance.user }}"
changed_when: true
with_indexed_items:
- '{{ nextcloud.trusted_domains | default(instance.name) }}'
- name: "configuration: {{ instance.name }}: cron einrichten"
cron:
- name: "Configuration | Richte cron-Job ein | {{ instance.name }}"
ansible.builtin.cron:
name: "nextcloud {{ instance.name }}"
minute: "*/5"
user: "{{ instance.user }}"
job: "php -f {{ nextcloud_install_path}}/cron.php"
cron_file: "nextcloud"
- name: "configuration: {{ instance.name }}: allgemeie Konfiguration"
command: "{{ item }}"
- name: "Configuration | Richte allgemeie Konfiguration ein | {{ instance.name }}"
ansible.builtin.command: "{{ item }}"
become: true
become_user: "{{ instance.user }}"
changed_when: true
@ -31,8 +31,8 @@
- 'php {{ nextcloud_install_path }}/occ config:system:set default_phone_region --value "DE"'
- 'php {{ nextcloud_install_path }}/occ config:system:set loglevel --value "1"'
- name: "configuration: {{ instance.name }}: Mailversand einrichten"
blockinfile:
- name: "Configuration | Richte Mailversand ein | {{ instance.name }}"
ansible.builtin.blockinfile:
path: "{{ nextcloud_config_file }}"
insertbefore: '^\);'
marker_begin: mailserver
@ -45,8 +45,8 @@
'mail_smtphost' => '{{ nextcloud.smtp_host }}',
'mail_smtpport' => '{{ nextcloud.smtp_port }}',
- name: "configuration: {{ instance.name }}: Filelocking"
blockinfile:
- name: "Configuration | Richte Filelocking ein | {{ instance.name }}"
ansible.builtin.blockinfile:
path: "{{ nextcloud_config_file }}"
insertbefore: '^\);'
marker_begin: filelocking
@ -60,8 +60,8 @@
'timeout' => 1.5,
),
- name: "configuration: {{ instance.name }}: trusted proxies einrichten"
command: 'php {{ nextcloud_install_path }}/occ config:system:set trusted_proxies {{ item.0 }} --value "{{ item.1 }}"'
- name: "Configuration | Richte trusted proxies ein | {{ instance.name }}"
ansible.builtin.command: 'php {{ nextcloud_install_path }}/occ config:system:set trusted_proxies {{ item.0 }} --value "{{ item.1 }}"'
become: true
become_user: "{{ instance.user }}"
changed_when: true