Closed AndreMarcel99 closed 2 months ago
When using a new marker_begin and marker_end in insert when removing the new markers are no passing to the absent case. So these case will fail.
- name: Remove text from Scripts zos_blockinfile: marker_begin: "NEW BEGIN" marker_end: "NEW END" marker: "* {mark} ANSIBLE MANAGED BLOCK" src: "{{ tmp_ds }}" state: absent ignore_errors: True
v1.11.0
v1.2.5 (default)
v3.11.x (default)
v2.16.x (default)
v2.5 (default)
No response
group_vars
host_vars
I added one point because is a change from 1.8 to latest version
Is there an existing issue for this?
Bug description
When using a new marker_begin and marker_end in insert when removing the new markers are no passing to the absent case. So these case will fail.
IBM z/OS Ansible core Version
v1.11.0
IBM Z Open Automation Utilities
v1.2.5 (default)
IBM Enterprise Python
v3.11.x (default)
ansible-version
v2.16.x (default)
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
orhost_vars
No response