Commit Graph

16 Commits (39153ea1548d208545a31d4fa581c70c22e90c98)

Author SHA1 Message Date
Brian Coca 5432c33324 added unsafe_writes to blockinfile (#2701)
depends on  http://github.com/ansible/ansible/issues/17016
9 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.
10 years ago
tazle 93f47524d9 Fixed /etc/hosts example for blockinfile (#2387)
- Fixed name
- Fixed name/ip order in template
10 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
10 years ago
Hans-Joachim Kliemeck 896f6dcd34 blockinfile will always add newline at EOF (#2261) 10 years ago
Toshio Kuratomi a12696d598 the ansible version constant is now in a different place 10 years ago
Michael Scherer 816673dd6f Use path type for blockinfile 'dest' argument (#2192) 10 years ago
Toshio Kuratomi 1846de2809 Switch blockinfile to using the latest best way to get ansible version 10 years ago
Toshio Kuratomi d871df6c27 Switch from deprecated ANSIBLE_VERSION to ansible.__version__ 10 years ago
Brian Coca 9cab73b5dd Merge pull request #1873 from mscherer/fix_1849
Reindent with_items, fix #1849
10 years ago
Michael Scherer 4396c26af5 Reindent with_items, fix #1849 10 years ago
Toshio Kuratomi 33e1d9d1cb Doc fixes 10 years ago
Brian Coca fade5b7936 added docs to blockinfile with_ interactions
fixes #1592
10 years ago
Ritesh Khadgaray a523ce7e00 files/blockinfile.py : ERROR: version_added for new option (follow) should be 2.1. Currently 0.0 10 years ago
Brian Coca d0c607c7a4 added follow docs back, removed from shared 10 years ago
YAEGASHI Takeshi 592e300851 New module: blockinfile 10 years ago