nextcloud: Korrigiere lint-Warnungen
This commit is contained in:
parent
609a681710
commit
c16dfca4c0
1 changed files with 14 additions and 14 deletions
|
@ -1,22 +1,22 @@
|
||||||
---
|
---
|
||||||
- name: "configuration: {{ instance.name }}: trusted domains einrichten"
|
- name: "Configuration | Richte trusted domains ein | {{ instance.name }}"
|
||||||
command: 'php {{ nextcloud_install_path }}/occ config:system:set trusted_domains {{ item.0 }} --value "{{ item.1 }}"'
|
ansible.builtin.command: 'php {{ nextcloud_install_path }}/occ config:system:set trusted_domains {{ item.0 }} --value "{{ item.1 }}"'
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{ instance.user }}"
|
become_user: "{{ instance.user }}"
|
||||||
changed_when: true
|
changed_when: true
|
||||||
with_indexed_items:
|
with_indexed_items:
|
||||||
- '{{ nextcloud.trusted_domains|default(instance.name) }}'
|
- '{{ nextcloud.trusted_domains | default(instance.name) }}'
|
||||||
|
|
||||||
- name: "configuration: {{ instance.name }}: cron einrichten"
|
- name: "Configuration | Richte cron-Job ein | {{ instance.name }}"
|
||||||
cron:
|
ansible.builtin.cron:
|
||||||
name: "nextcloud {{ instance.name }}"
|
name: "nextcloud {{ instance.name }}"
|
||||||
minute: "*/5"
|
minute: "*/5"
|
||||||
user: "{{ instance.user }}"
|
user: "{{ instance.user }}"
|
||||||
job: "php -f {{ nextcloud_install_path}}/cron.php"
|
job: "php -f {{ nextcloud_install_path}}/cron.php"
|
||||||
cron_file: "nextcloud"
|
cron_file: "nextcloud"
|
||||||
|
|
||||||
- name: "configuration: {{ instance.name }}: allgemeie Konfiguration"
|
- name: "Configuration | Richte allgemeie Konfiguration ein | {{ instance.name }}"
|
||||||
command: "{{ item }}"
|
ansible.builtin.command: "{{ item }}"
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{ instance.user }}"
|
become_user: "{{ instance.user }}"
|
||||||
changed_when: true
|
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 default_phone_region --value "DE"'
|
||||||
- 'php {{ nextcloud_install_path }}/occ config:system:set loglevel --value "1"'
|
- 'php {{ nextcloud_install_path }}/occ config:system:set loglevel --value "1"'
|
||||||
|
|
||||||
- name: "configuration: {{ instance.name }}: Mailversand einrichten"
|
- name: "Configuration | Richte Mailversand ein | {{ instance.name }}"
|
||||||
blockinfile:
|
ansible.builtin.blockinfile:
|
||||||
path: "{{ nextcloud_config_file }}"
|
path: "{{ nextcloud_config_file }}"
|
||||||
insertbefore: '^\);'
|
insertbefore: '^\);'
|
||||||
marker_begin: mailserver
|
marker_begin: mailserver
|
||||||
|
@ -43,10 +43,10 @@
|
||||||
'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 | Richte Filelocking ein | {{ instance.name }}"
|
||||||
blockinfile:
|
ansible.builtin.blockinfile:
|
||||||
path: "{{ nextcloud_config_file }}"
|
path: "{{ nextcloud_config_file }}"
|
||||||
insertbefore: '^\);'
|
insertbefore: '^\);'
|
||||||
marker_begin: filelocking
|
marker_begin: filelocking
|
||||||
|
@ -60,8 +60,8 @@
|
||||||
'timeout' => 1.5,
|
'timeout' => 1.5,
|
||||||
),
|
),
|
||||||
|
|
||||||
- name: "configuration: {{ instance.name }}: trusted proxies einrichten"
|
- name: "Configuration | Richte trusted proxies ein | {{ instance.name }}"
|
||||||
command: 'php {{ nextcloud_install_path }}/occ config:system:set trusted_proxies {{ item.0 }} --value "{{ item.1 }}"'
|
ansible.builtin.command: 'php {{ nextcloud_install_path }}/occ config:system:set trusted_proxies {{ item.0 }} --value "{{ item.1 }}"'
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{ instance.user }}"
|
become_user: "{{ instance.user }}"
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|
Loading…
Reference in a new issue