Datenbankzugriff korrigiert

This commit is contained in:
phil 2020-12-31 01:30:14 +00:00
parent e427d2bf75
commit 68befe4832
2 changed files with 6 additions and 1 deletions

View file

@ -1,4 +1,6 @@
---
mysql_socket: /var/run/mysqld/mysqld.sock
nextcloud_admin_pw: admin
nextcloud_admin_user: systemausfall.org
nextcloud_admin_pw: admin

View file

@ -3,6 +3,8 @@
mysql_db:
name: '{{ nextcloud_mysql_db }}'
state: present
login_unix_socket: "{{ mysql_socket }}"
login_user: root
config_file: /etc/mysql/debian.cnf
delegate_to: "{{ nextcloud_database_host }}"
@ -13,5 +15,6 @@
password: "{{ lookup('password', '/tmp/passwordfile chars=ascii_letters') }}"
priv: "{{ nextcloud_mysql_db }}.{{ inventory_hostname }}:ALL"
state: present
config_file: /etc/mysql/debian.cnf
login_unix_socket: "{{ mysql_socket }}"
login_user: root
delegate_to: "{{ nextcloud_database_host }}"