Normalize bools in tests (#5996)

* Normalize bools in tests.

* Fix typo.
This commit is contained in:
Felix Fontein 2023-02-15 22:55:23 +01:00 committed by GitHub
commit 24efe9ee9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
182 changed files with 770 additions and 770 deletions

View file

@ -12,7 +12,7 @@
- name: determine if mercurial is already installed
command: which hg
register: has_hg
ignore_errors: yes
ignore_errors: true
- name: warn if the underlying system is not capable of running these tests
debug:

View file

@ -72,8 +72,8 @@
- name: Checkout non-existent repo clone
hg:
repo: "http://hg.pf.osdn.net/view/a/ak/akasurde/hg_project_test_1"
clone: no
update: no
clone: false
update: false
register: hg_result3
ignore_errors: true

View file

@ -25,7 +25,7 @@
dnf:
name: mercurial
state: absent
autoremove: yes
autoremove: true
when: ansible_facts.pkg_mgr == 'dnf'
# the yum module does not have an autoremove parameter
@ -37,7 +37,7 @@
package:
name: mercurial
state: absent
autoremove: yes
autoremove: true
when: ansible_facts.pkg_mgr in ['pkgng', 'community.general.pkgng']
- name: uninstall packages which were not originally installed (zypper)