|
|
@@ -3,7 +3,7 @@ |
|
|
|
- name: mysql user |
|
|
|
mysql_user: |
|
|
|
name: "{{ nextcloud_database_user }}" |
|
|
|
host: "{{ (nextcloud_database_host == inventory_hostname) | ternary('localhost',ssh_ip) }}" |
|
|
|
host: "{{ (nextcloud_database_host == inventory_hostname) | ternary('localhost',nextcloud_database_host) }}" |
|
|
|
password: "{{ nextcloud_database_pass }}" |
|
|
|
priv: "{{nextcloud_database_name}}.*:ALL" |
|
|
|
delegate_to: "{{ nextcloud_database_host }}" |
|
|
|