Fix cosmetic problems in YAML source

This change corrects problems reported by the `yamllint` linter.

Since key duplication problems were removed in 4d48711, this commit
mainly fixes trailing spaces and extra empty lines at beginning/end of
files.
This commit is contained in:
Adrien Vergé 2016-04-18 16:47:38 +02:00 committed by Matt Clay
parent 8874c1dc39
commit 0e834fc9e4
251 changed files with 214 additions and 510 deletions

View file

@ -2,4 +2,3 @@
# defaults file for test_mysql_variables
user: 'user1'
password: 'password1'

View file

@ -19,10 +19,10 @@
# ============================================================
# 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 == {{changed}}" }
- name: run mysql command to show variable
- name: run mysql command to show variable
command: mysql "-e show variables like '{{var_name}}';"
register: result
@ -32,5 +32,3 @@
- "result.changed == true"
- "'{{var_name}}' in result.stdout"
- "'{{var_value}}' in result.stdout"

View file

@ -19,14 +19,14 @@
# ============================================================
# Assert output variable name/value match mysql variable name/value
#
- name: assert output message changed value
- name: assert output message changed value
assert: { that: "output.changed == {{changed}}" }
- set_fact:
key_name: "{{var_name}}"
key_value: "{{output.msg[0][0]}}"
- name: run mysql command to show variable
- name: run mysql command to show variable
command: mysql "-e show variables like '{{var_name}}';"
register: result

View file

@ -133,7 +133,7 @@
# ============================================================
# Verify mysql_variable fails when setting a read-only variable
#
#
- name: set value of a read only mysql variable
mysql_variables: variable=character_set_system value=utf16
register: result
@ -199,4 +199,4 @@
register: result
ignore_errors: true
- include: assert_fail_msg.yml output={{result}} msg='unable to connect to database'
- include: assert_fail_msg.yml output={{result}} msg='unable to connect to database'