mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-28 15:41:22 -07:00
[PR #7625/3b779eca backport][stable-8] Fix bad expressions in tests (#7629)
Fix bad expressions in tests (#7625)
* Fix bad expressions in tests.
ci_complete
* Disable cmd_runner integration tests.
ci_complete
* Another bad expression.
ci_complete
(cherry picked from commit 3b779ecade
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
7204798479
commit
580f8b30a8
7 changed files with 43 additions and 28 deletions
|
@ -35,7 +35,7 @@
|
|||
loop: "{{ initial_lv_status_result.stdout_lines }}"
|
||||
assert:
|
||||
that:
|
||||
- "'active' == '{{ item }}'"
|
||||
- "'active' == item"
|
||||
|
||||
- name: Deactivate volume group
|
||||
lvg:
|
||||
|
@ -100,7 +100,7 @@
|
|||
loop: "{{ activate_lv_status_result.stdout_lines }}"
|
||||
assert:
|
||||
that:
|
||||
- "'active' == '{{ item }}'"
|
||||
- "'active' == item"
|
||||
|
||||
- name: Activate volume group again to verify idempontency
|
||||
lvg:
|
||||
|
@ -138,7 +138,7 @@
|
|||
loop: "{{ activate_partial_lv_status_result.stdout_lines }}"
|
||||
assert:
|
||||
that:
|
||||
- "'active' == '{{ item }}'"
|
||||
- "'active' == item"
|
||||
|
||||
- name: Deactivate volume group in check mode
|
||||
lvg:
|
||||
|
@ -160,4 +160,4 @@
|
|||
loop: "{{ check_mode_deactivate_lv_status_result.stdout_lines }}"
|
||||
assert:
|
||||
that:
|
||||
- "'active' == '{{ item }}'"
|
||||
- "'active' == item"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue