mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00: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:
@@ -4,7 +4,7 @@
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
- hosts: localhost
|
||||
gather_facts: no
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Call plugin
|
||||
set_fact:
|
||||
@@ -25,7 +25,7 @@
|
||||
- name: Raise error when impossible constraints are provided
|
||||
set_fact:
|
||||
impossible: "{{ query('community.general.random_string', upper=false, lower=false, special=false, numbers=false) }}"
|
||||
ignore_errors: yes
|
||||
ignore_errors: true
|
||||
register: impossible_result
|
||||
|
||||
- name: Check results
|
||||
|
||||
Reference in New Issue
Block a user