I'm new to ansible.
I have a problem when using ansible 'with_items'.
For example, the following code:
- assert:
that:
- ...
with_items: "{{data_array_with_big_elements}}"
The running effect is
TASK [assert] ***************
ok: [10.250.15.160] => (item={......big.....body......here....}) => else_output.
What I want is to strip the item body to a short one.
Is there any idea to make it?
question from:https://stackoverflow.com/questions/65861522/is-there-any-way-to-strip-ansible-output-caused-by-with-items