Explicitly use mysql collection
Since we've switched to ansible 2.10 we should explicitly use modules provided by mysql collection. Change-Id: Ic0e96e219792638b24a8e62517d98e21c3150f46
This commit is contained in:

committed by
Dmitriy Rabotyagov (noonedeadpunk)

parent
a7a396dbb8
commit
5391e63c78
@@ -14,7 +14,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
- name: Create galera users
|
- name: Create galera users
|
||||||
mysql_user:
|
community.mysql.mysql_user:
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
host: "{{ item.host }}"
|
host: "{{ item.host }}"
|
||||||
password: "{{ item.password }}"
|
password: "{{ item.password }}"
|
||||||
|
@@ -91,7 +91,7 @@
|
|||||||
- "'10.1.0.3' in wsrep_incoming_addresses.stdout"
|
- "'10.1.0.3' in wsrep_incoming_addresses.stdout"
|
||||||
- "'10.1.0.4' in wsrep_incoming_addresses.stdout"
|
- "'10.1.0.4' in wsrep_incoming_addresses.stdout"
|
||||||
- name: Create DB for service on 10.1.0.2
|
- name: Create DB for service on 10.1.0.2
|
||||||
mysql_db:
|
community.mysql.mysql_db:
|
||||||
login_user: "{{ galera_root_user }}"
|
login_user: "{{ galera_root_user }}"
|
||||||
login_password: "{{ galera_root_password }}"
|
login_password: "{{ galera_root_password }}"
|
||||||
login_host: "10.1.0.2"
|
login_host: "10.1.0.2"
|
||||||
@@ -101,7 +101,7 @@
|
|||||||
tags:
|
tags:
|
||||||
- skip_ansible_lint
|
- skip_ansible_lint
|
||||||
- name: Grant access to the DB on 10.1.0.3
|
- name: Grant access to the DB on 10.1.0.3
|
||||||
mysql_user:
|
community.mysql.mysql_user:
|
||||||
login_user: "{{ galera_root_user }}"
|
login_user: "{{ galera_root_user }}"
|
||||||
login_password: "{{ galera_root_password }}"
|
login_password: "{{ galera_root_password }}"
|
||||||
login_host: "10.1.0.3"
|
login_host: "10.1.0.3"
|
||||||
|
Reference in New Issue
Block a user