Fehlerbereinigung

This commit is contained in:
1resu 2021-04-02 10:39:01 +02:00
parent b0b2eff593
commit 95ce6b0f5f
6 changed files with 6 additions and 7 deletions

View file

@ -17,7 +17,7 @@ nextcloud_php_memory_limit: 512M
nextcloud_php_upload_limit: 512M nextcloud_php_upload_limit: 512M
nextcloud_trusted_domains: ['localhost', '{{ nextcloud_domain }}'] nextcloud_trusted_domains: ['localhost', '{{ nextcloud_domain }}']
nextcloud_trusted_proxies: ['10.42.7.1'] nextcloud_trusted_proxies: ['10.42.7.1']
nextcloud_version: nextcloud-20.0.2 nextcloud_version: nextcloud-21.0.0
nextcloud_mail_from: noreply nextcloud_mail_from: noreply
nextcloud_mail_domain: postfach.senselab.org nextcloud_mail_domain: postfach.senselab.org

View file

@ -7,7 +7,7 @@
# when: dehydrated_installiert # when: dehydrated_installiert
delegate_to: "{{ nextcloud_gateway }}" delegate_to: "{{ nextcloud_gateway }}"
- name: "Gateway Zertifikat erstelle" - name: "Gateway Zertifikat erstellen"
command: dehydrated --cron -g command: dehydrated --cron -g
delegate_to: "{{ nextcloud_gateway }}" delegate_to: "{{ nextcloud_gateway }}"

View file

@ -21,13 +21,13 @@
command: > command: >
php "{{ nextcloud_install_path }}"/occ maintenance:install --database "mysql" php "{{ nextcloud_install_path }}"/occ maintenance:install --database "mysql"
--database-name "{{ nextcloud_mysql_db }}" --database-user "{{ nextcloud_mysql_user }}" --database-name "{{ nextcloud_mysql_db }}" --database-user "{{ nextcloud_mysql_user }}"
--database-pass 2CHbJwLpXTgHQkiUnFCgoowfT7vQdt85BX7VfRBCtb --database-host "{{ nextcloud_database_host }}" --database-pass "{{ lookup('password', '/tmp/passwordfile chars=ascii_letters') }}" --database-host "{{ nextcloud_database_host }}"
--admin-user "{{ nextcloud_admin_user }}" --admin-pass "{{ nextcloud_admin_pw }}" --admin-user "{{ nextcloud_admin_user }}" --admin-pass "{{ nextcloud_admin_pw }}"
become: true become: true
become_user: "{{ common_name }}" become_user: "{{ common_name }}"
changed_when: true changed_when: true
- name: "NC trusted domains einrichte" - name: "NC trusted domains einrichten"
command: 'php {{ nextcloud_install_path }}/occ config:system:set trusted_domains {{ item.0 }} --value "{{ item.1 }}"' command: 'php {{ nextcloud_install_path }}/occ config:system:set trusted_domains {{ item.0 }} --value "{{ item.1 }}"'
become: true become: true
become_user: "{{ common_name }}" become_user: "{{ common_name }}"

View file

@ -9,7 +9,7 @@
- python-pymysql - python-pymysql
update_cache: yes update_cache: yes
cache_valid_time: 3600 cache_valid_time: 3600
# nur für db_gast ausführen delegate_to: "{{ nextcloud_gateway }}"
- name: "Pakete installieren" - name: "Pakete installieren"
apt: apt:

View file

@ -5,7 +5,7 @@
name: "{{ common_name }}" name: "{{ common_name }}"
create_home: no create_home: no
password: "!" password: "!"
groups: "{{ common_name }},redis" groups: redis
shell: /bin/false shell: /bin/false
state: present state: present

View file

@ -1,5 +1,4 @@
--- ---
- name: "Redis Aktiviere Socket" - name: "Redis Aktiviere Socket"
lineinfile: lineinfile:
path: /etc/redis/redis.conf path: /etc/redis/redis.conf