mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-07-26 22:51:25 -07:00
Linting
This commit is contained in:
parent
31d29057fa
commit
757e974fe5
1 changed files with 4 additions and 3 deletions
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
# test code to assert variables in mysql_variables module
|
||||
# (c) 2014, Wayne Rosario <wrosario@ansible.com>
|
||||
|
||||
|
@ -19,16 +20,16 @@
|
|||
# ============================================================
|
||||
# Assert mysql variable name and value from mysql database
|
||||
#
|
||||
- name: assert output message changed value
|
||||
- name: Assert output message changed value
|
||||
assert:
|
||||
that:
|
||||
- "output.changed | bool == changed | bool"
|
||||
|
||||
- name: run mysql command to show variable
|
||||
- name: Run mysql command to show variable
|
||||
command: "{{ mysql_command }} \"-e show variables like '{{ var_name }}'\""
|
||||
register: result
|
||||
|
||||
- name: assert output mysql variable name and value
|
||||
- name: Assert output mysql variable name and value
|
||||
assert:
|
||||
that:
|
||||
- result is changed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue