summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/mysql_variables
diff options
context:
space:
mode:
authorAdrien Vergé <adrienverge@gmail.com>2016-04-18 16:47:38 +0200
committerMatt Clay <matt@mystile.com>2016-11-11 23:50:57 +0100
commit0e834fc9e4ace93a5e47647fb3544d775977d90c (patch)
treead27e0acb1dd75fb28c9d9701ff9bf4df262a277 /test/integration/targets/mysql_variables
parentImproved Get-PendingRebootStatus (diff)
downloadansible-0e834fc9e4ace93a5e47647fb3544d775977d90c.tar.xz
ansible-0e834fc9e4ace93a5e47647fb3544d775977d90c.zip
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.
Diffstat (limited to 'test/integration/targets/mysql_variables')
-rw-r--r--test/integration/targets/mysql_variables/defaults/main.yml1
-rw-r--r--test/integration/targets/mysql_variables/tasks/assert_var.yml6
-rw-r--r--test/integration/targets/mysql_variables/tasks/assert_var_output.yml4
-rw-r--r--test/integration/targets/mysql_variables/tasks/main.yml4
4 files changed, 6 insertions, 9 deletions
diff --git a/test/integration/targets/mysql_variables/defaults/main.yml b/test/integration/targets/mysql_variables/defaults/main.yml
index 4683ee0d78..a53a9f6761 100644
--- a/test/integration/targets/mysql_variables/defaults/main.yml
+++ b/test/integration/targets/mysql_variables/defaults/main.yml
@@ -2,4 +2,3 @@
# defaults file for test_mysql_variables
user: 'user1'
password: 'password1'
-
diff --git a/test/integration/targets/mysql_variables/tasks/assert_var.yml b/test/integration/targets/mysql_variables/tasks/assert_var.yml
index db7f3d188a..7a3e963463 100644
--- a/test/integration/targets/mysql_variables/tasks/assert_var.yml
+++ b/test/integration/targets/mysql_variables/tasks/assert_var.yml
@@ -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"
-
-
diff --git a/test/integration/targets/mysql_variables/tasks/assert_var_output.yml b/test/integration/targets/mysql_variables/tasks/assert_var_output.yml
index 6a321a6f83..7214fa27dd 100644
--- a/test/integration/targets/mysql_variables/tasks/assert_var_output.yml
+++ b/test/integration/targets/mysql_variables/tasks/assert_var_output.yml
@@ -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
diff --git a/test/integration/targets/mysql_variables/tasks/main.yml b/test/integration/targets/mysql_variables/tasks/main.yml
index 26fc03c867..0ba23e8907 100644
--- a/test/integration/targets/mysql_variables/tasks/main.yml
+++ b/test/integration/targets/mysql_variables/tasks/main.yml
@@ -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' \ No newline at end of file
+- include: assert_fail_msg.yml output={{result}} msg='unable to connect to database'