mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Normalize bools in tests (#5996)
* Normalize bools in tests. * Fix typo.
This commit is contained in:
parent
4c4ef80ca9
commit
24efe9ee9a
182 changed files with 770 additions and 770 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue