Commit Graph

16 Commits (9cd681a84140434ab804c1b431a517fbcc2ff14c)

Author SHA1 Message Date
Brian Coca 5432c33324 added unsafe_writes to blockinfile (#2701)
depends on  http://github.com/ansible/ansible/issues/17016
8 years ago
Anton Ovchinnikov fc417a5ab0 Fix check mode for blockinfile when 'create: yes' is specified (#2413)
Make the module more semantically similar to lineinfile when
the destination does not exist. This fixes #2021.
8 years ago
tazle 93f47524d9 Fixed /etc/hosts example for blockinfile (#2387)
- Fixed name
- Fixed name/ip order in template
9 years ago
dougluce b6b04795c3 Don't bomb if original didn't exist (#2295)
If we don't have an existing file, original ends up as None.  Bug
introduced in 70fa125
9 years ago
Hans-Joachim Kliemeck 896f6dcd34 blockinfile will always add newline at EOF (#2261) 9 years ago
Toshio Kuratomi a12696d598 the ansible version constant is now in a different place 9 years ago
Michael Scherer 816673dd6f Use path type for blockinfile 'dest' argument (#2192) 9 years ago
Toshio Kuratomi 1846de2809 Switch blockinfile to using the latest best way to get ansible version 9 years ago
Toshio Kuratomi d871df6c27 Switch from deprecated ANSIBLE_VERSION to ansible.__version__ 9 years ago
Brian Coca 9cab73b5dd Merge pull request #1873 from mscherer/fix_1849
Reindent with_items, fix #1849
9 years ago
Michael Scherer 4396c26af5 Reindent with_items, fix #1849 9 years ago
Toshio Kuratomi 33e1d9d1cb Doc fixes 9 years ago
Brian Coca fade5b7936 added docs to blockinfile with_ interactions
fixes #1592
9 years ago
Ritesh Khadgaray a523ce7e00 files/blockinfile.py : ERROR: version_added for new option (follow) should be 2.1. Currently 0.0 9 years ago
Brian Coca d0c607c7a4 added follow docs back, removed from shared 9 years ago
YAEGASHI Takeshi 592e300851 New module: blockinfile 9 years ago