96d304a894
Use a separate variable for the boolean test rather than having the same variable sometimes be a boolean and sometimes be a regular expression match object
Add integration tests to cover this scenario
(cherry picked from commit 29d4d318a5
)
Co-authored-by: Sam Doran <sdoran@redhat.com>
2 lines
176 B
YAML
2 lines
176 B
YAML
bugfixes:
|
|
- lineinfile - properly handle inserting a line when backrefs are enabled and the line already exists in the file (https://github.com/ansible/ansible/issues/63756)
|