ansible-collections / ibm_zos_core

Red Hat Ansible Certified Content for IBM Z
77 stars 44 forks source link

[Bug]When zos_blockinfile tries to introduce a block with double quotes generates a false negative #1258

Open AndreMarcel99 opened 7 months ago

AndreMarcel99 commented 7 months ago

Is there an existing issue for this?

Bug description

When the block to insert includes double quotes as 'cat "//OMVSADMI.CAT"\ncat "//OMVSADM.COPYMEM.TESTS" > test.txt' it returns a false negative as the response came with not stdout but with a rc of 1 and stderr of entry could be pass but the module works fine to introduce the block of text

IBM z/OS Ansible core Version

v1.10.0-beta.1

IBM Z Open Automation Utilities

v1.2.5 (default)

IBM Enterprise Python

v3.11.x (default)

ansible-version

v2.15.x

z/OS version

v2.5 (default)

Ansible module

No response

Playbook verbosity output.

No response

Ansible configuration.

No response

Contents of the inventory

No response

Contents of group_vars or host_vars

No response

AndreMarcel99 commented 7 months ago

[NAZARE-10444]

ddimatos commented 2 days ago

Dependency delivered in ZOAU 1.3.1, increasing to urgent so it gets prioritized higher.