From 5df57fcec965b1e408733e3f714d50becf821a26 Mon Sep 17 00:00:00 2001 From: Felix Hamme Date: Tue, 19 Apr 2022 11:20:54 +0200 Subject: [PATCH] fix mysql_role integration tests --- tests/integration/targets/test_mysql_role/tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/integration/targets/test_mysql_role/tasks/main.yml b/tests/integration/targets/test_mysql_role/tasks/main.yml index cf33276..952bf6f 100644 --- a/tests/integration/targets/test_mysql_role/tasks/main.yml +++ b/tests/integration/targets/test_mysql_role/tasks/main.yml @@ -3,6 +3,11 @@ # and should not be used as examples of how to write Ansible roles # #################################################################### +- 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" + + # mysql_role module initial CI tests - import_tasks: mysql_role_initial.yml