Fix database not selected

This commit is contained in:
Laurent Indermuehle 2023-01-04 17:14:48 +01:00
parent 87acd3d303
commit 72b3ecb6da
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09

View file

@ -85,7 +85,11 @@
- result is changed
- 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
failed_when: '"latin1_swedish_ci" not in output.stdout'