mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-05-02 23:31:27 -07:00
De-duplicate the mysql_command alias
This commit is contained in:
parent
4b6617ab50
commit
90266f1ad5
10 changed files with 16 additions and 37 deletions
|
@ -1,7 +1,4 @@
|
|||
---
|
||||
- name: alias mysql command to include default options
|
||||
set_fact:
|
||||
mysql_command: "mysql -u{{ mysql_user }} -p{{ mysql_password }} -P{{ mysql_primary_port }} --protocol=tcp"
|
||||
|
||||
- name: set fact tls_enabled
|
||||
command: "{{ mysql_command }} \"-e SHOW VARIABLES LIKE 'have_ssl';\""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue