mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 13:50:22 -07:00
[PR #5996/24efe9ee backport][stable-6] Normalize bools in tests (#5997)
Normalize bools in tests (#5996)
* Normalize bools in tests.
* Fix typo.
(cherry picked from commit 24efe9ee9a
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
4f71c9384e
commit
ec7f885e2f
182 changed files with 770 additions and 770 deletions
|
@ -10,7 +10,7 @@
|
|||
list_all: true
|
||||
state: absent
|
||||
register: result
|
||||
ignore_errors: yes
|
||||
ignore_errors: true
|
||||
|
||||
- name: assert git_config failed
|
||||
assert:
|
||||
|
|
|
@ -6,10 +6,10 @@
|
|||
- name: verify that git is installed so this test can continue
|
||||
command: which git
|
||||
register: git_installed
|
||||
ignore_errors: yes
|
||||
ignore_errors: true
|
||||
|
||||
- name: get git version, only newer than {{git_version_supporting_includes}} has includes option
|
||||
shell: "git --version | grep 'git version' | sed 's/git version //'"
|
||||
register: git_version
|
||||
ignore_errors: yes
|
||||
ignore_errors: true
|
||||
...
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
name: "{{ option_name }}"
|
||||
scope: "{{ option_scope }}"
|
||||
state: absent
|
||||
check_mode: yes
|
||||
check_mode: true
|
||||
register: unset_result
|
||||
|
||||
- name: getting value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue