1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Authenticate db creation with mysql root user

This commit is contained in:
Anish Mangal 2019-01-20 08:30:21 +00:00 committed by root
parent 1f3c88623b
commit 7713b6da18

View file

@ -45,6 +45,8 @@
password: "{{ asterisk_db_password }}"
priv: "{{ asterisk_db_dbname }}.*:ALL/{{ asterisk_db_cdrdbname }}.*:ALL"
login_host: "{{ asterisk_db_host }}"
login_user: "root"
login_password: "{{ mysql_root_password }}"
host: "{{ (asterisk_db_host == 'localhost') | ternary('localhost', ansible_default_ipv4.address) }}"
state: present
@ -54,6 +56,8 @@
encoding: utf8
collation: utf8_general_ci
login_host: "{{ asterisk_db_host }}"
login_user: "root"
login_password: "{{ mysql_root_password }}"
state: present
- name: FreePBX - Add cdr mysql db