|
|
|
@ -58,7 +58,13 @@
|
|
|
|
!includedir /etc/mysql/mariadb.conf.d/
|
|
|
|
!includedir /etc/mysql/mariadb.conf.d/
|
|
|
|
notify: restart mysql
|
|
|
|
notify: restart mysql
|
|
|
|
|
|
|
|
|
|
|
|
- name: "Create mariadb cnf file"
|
|
|
|
- name: "ASSERT: stage_private_server_ip"
|
|
|
|
|
|
|
|
ansible.builtin.assert:
|
|
|
|
|
|
|
|
that:
|
|
|
|
|
|
|
|
- stage_private_server_ip != ''
|
|
|
|
|
|
|
|
msg: "stage_private_server_ip is EMPTY. plz check tasks/autodiscover_pre_tasks.yml "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: "Create mariadb cnf file: bind_address={{ stage_private_server_ip }}"
|
|
|
|
vars:
|
|
|
|
vars:
|
|
|
|
mariadb_server_bind_address: '{{ stage_private_server_ip }}'
|
|
|
|
mariadb_server_bind_address: '{{ stage_private_server_ip }}'
|
|
|
|
template:
|
|
|
|
template:
|
|
|
|
|