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/9546pull/18777/head
parent
104f91ed3b
commit
60ed80f99a
Loading…
Reference in New Issue