mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
d2bdbadb03
* adding quiet option to assert (ansible#27124) * adding doc for quiet to assert.py * fixing PEP8 failure * improving example * improving docs * adding changelog fragment * adding . at end of descriptions * removing trailing blank line * adding integration test for assert * fixing CI complaints * disabling gather_facts in quiet.yml test * rerunning to capture skip * cleaning up python 2 vs 3 * following rebase * fixing CI complaints * fixing CI complaints * fixing CI complaints * fixing CI complaints * fixing CI complaints
16 lines
273 B
YAML
16 lines
273 B
YAML
---
|
|
- hosts: localhost
|
|
gather_facts: False
|
|
vars:
|
|
item_A: yes
|
|
tasks:
|
|
- assert:
|
|
that: "{{ item }} is defined"
|
|
quiet: True
|
|
with_items:
|
|
- item_A
|
|
- assert:
|
|
that: "{{ item }} is defined"
|
|
quiet: False
|
|
with_items:
|
|
- item_A
|