Commit Graph

13 Commits (53ba8903127f1fc891af3e0fda222179bb6965a7)

Author SHA1 Message Date
James Tanner 39fdb934be Add doc example for lineinfile without a regexp parameter 11 years ago
James Tanner 3ae95c8953 Fix merge conflict 11 years ago
Jon Kolb 0e2478e639 Fixes #3847: lineinfile without regex 11 years ago
Joshua Kehn a20f477e64 Added validate option to lineinfile
The validate option is constructed similarly to the template command's
validate option. TestRunner.py has been updated to include two new
tests, one for passing and one for failing validation.
11 years ago
James Cammarata ff2b87f350 Merge branch 'devel' of https://github.com/volker48/ansible into volker48-devel 11 years ago
James Cammarata 1c1c103d93 Corrected example for lineinfile due to ': ' on line
Closes #3992
11 years ago
Marcus McCurdy 249dc38527 Makes pervious lineinfile fix more explicit 11 years ago
Marcus McCurdy e16b9aa3a0 Improves lineinfile's error checking
Line in file would raise a TypeError exception if
the 'line' key was in params, but its value was None.
11 years ago
Jan-Piet Mens 3404a0fc16 DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string
  Added deprecation warning to moduledev.rst and remove deprecated example from it
  Fixed up a few typos and uppercased some acronyms.
  add consistency to how EXAMPLES are formatted
11 years ago
Lorin Hochstein b116045220 lineinfile example: /etc/host[s]
Change a lineinfile example from /etc/host to /etc/hosts
11 years ago
Nicolas Grilly b2f5db97bd Escape args injected in new style modules 11 years ago
Brian Coca d5128ee30e changed lininfile to be safer by writing to temp file and moving into place
instead of writing directly to original
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
Michael DeHaan cd97a4cb14 Allow modules to be categorized, and also sort them when generating the documentation. 12 years ago