mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
remove non-existant state var
This commit is contained in:
parent
fed7cea795
commit
a0264983ad
2 changed files with 2 additions and 2 deletions
|
@ -21,5 +21,5 @@
|
||||||
mysql_user: name={{user_name}} password={{user_password}} state=present
|
mysql_user: name={{user_name}} password={{user_password}} state=present
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
- name: assert output message mysql user was created {{state}}
|
- name: assert output message mysql user was created
|
||||||
assert: { that: "result.changed == true" }
|
assert: { that: "result.changed == true" }
|
||||||
|
|
|
@ -21,5 +21,5 @@
|
||||||
mysql_user: name={{user_name}} password={{user_password}} state=absent
|
mysql_user: name={{user_name}} password={{user_password}} state=absent
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
- name: assert output message mysql user was removed {{state}}
|
- name: assert output message mysql user was removed
|
||||||
assert: { that: "result.changed == true" }
|
assert: { that: "result.changed == true" }
|
||||||
|
|
Loading…
Reference in a new issue