Commit Graph

7 Commits (d4074ccd96ad0f587abe792373b6bff7016ba8c8)

Author SHA1 Message Date
Jeff Bradberry 28375aae7f 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/9546
10 years ago
Eric 87dd3afc91 Fix lineinfile documentation typo 10 years ago
James Cammarata cb69744bce Adding file doc fragment to those modules in files/ missing it 10 years ago
Michael DeHaan 1c2995d71f Merge pull request #77 from major/suggest-selinux-enforcing
Updating SELinux example doc in lininefile module
10 years ago
Eric Hanchrow cc0a38d268 Tweak docs to mention `replace` 10 years ago
Major Hayden 6d697780f9 Updating SELinux example doc in lininefile module
Encouraging users to use this Ansible module to enable SELinux seems
like a better idea. It also warms Dan Walsh's heart.

Signed-off-by: Major Hayden <major@mhtx.net>
10 years ago
Michael DeHaan c8e1a2077e file extensions! 10 years ago