1. lineinfile
- firstmatch only affects insertafter and insertbefore. It does NOT change the behavior of "replace" which only changes the last matched line.
- state=absent deletes all matched lines, while state=present only changes one line.
2. copy
- content='file content' writes the file content.
No comments:
Post a Comment