mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-27 21:01:28 -07:00
Fix database not selected
This commit is contained in:
parent
87acd3d303
commit
72b3ecb6da
1 changed files with 5 additions and 1 deletions
|
@ -85,7 +85,11 @@
|
||||||
- result is changed
|
- result is changed
|
||||||
|
|
||||||
- name: check encoding of table
|
- name: check encoding of table
|
||||||
shell: "{{ mysql_command }} {{ db_latin1_name }} -e \"SHOW FULL COLUMNS FROM testlatin1\""
|
ansible.builtin.command:
|
||||||
|
cmd: >
|
||||||
|
{{ mysql_command }}
|
||||||
|
{{ db_latin1_name }}
|
||||||
|
-e "SHOW FULL COLUMNS FROM {{ db_latin1_name }}.testlatin1"
|
||||||
register: output
|
register: output
|
||||||
failed_when: '"latin1_swedish_ci" not in output.stdout'
|
failed_when: '"latin1_swedish_ci" not in output.stdout'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue