mirror of https://github.com/ansible/ansible.git
Fix breakage in lineinfile check mode when target file does not exist.
Similarly to https://github.com/ansible/ansible/issues/6182, checking of the file attributes should be avoided in check mode when the file didn't originally exist. Also, avoid creating parent directories in check mode. Fixes https://github.com/ansible/ansible/issues/9546reviewable/pr18780/r1
parent
b0c94cd6f6
commit
28375aae7f
Loading…
Reference in New Issue