mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Normalize bools in tests (#5996)
* Normalize bools in tests. * Fix typo.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user