Commit Graph

5 Commits (938d5f210ecd56f498c1b9ae753b05064b3178d2)

Author SHA1 Message Date
James Cammarata 7faf766305 Merge branch 'devel' of https://github.com/jjshoe/ansible into jjshoe-devel 11 years ago
jjshoe 6f0808b23b Ensure the validation string has %s in it 11 years ago
Michael Heca 6618c1e8b5 module replace - report changed only if contents is changed 11 years ago
James Cammarata 68327fa172 Cleanup from merge of replace module and CHANGELOG update 11 years ago
Evan Kaufman 2c8b761a65 Added replace module
Heavily based on existing lineinfile module, but where it literally tests a regexp against
*each individual line* of a file, this replace module is more analogous to common uses of
a `sed` or `perl` match + replacement of all instances of a pattern anywhere in the file.

Was debating adding `all` boolean or `count` numeric options to control how many
replacements to make in the destfile (vs currently replacing all instances)

Noted use of MULTILINE mode in docs, per suggestion from @jarv
11 years ago