File tree Expand file tree Collapse file tree 4 files changed +27
-8
lines changed Expand file tree Collapse file tree 4 files changed +27
-8
lines changed Original file line number Diff line number Diff line change 11name : moban-ansible
22organisation : moremoban
33releases :
4+ - changes :
5+ - action : added
6+ details :
7+ - " `#1`: three parameters supported in lineinfile module of ansible"
8+ version : 0.0.2
9+ date : 04.09.2020
410- changes :
511 - action : first release
612 details :
Original file line number Diff line number Diff line change 1+ Tutorial
2+ ================================================================================
3+
4+ This section covers the use cases for moban. Please check them out individually.
5+
6+
7+ #. `lineinfile module `_
8+
9+
10+ .. _`lineinfile module` : level-1-line-in-file
Original file line number Diff line number Diff line change @@ -4,12 +4,14 @@ level 1 - lineinfile
44It has been requested to have line in file feature from ansible. So far, it supports three parameters.
55
66
7- ============ =================== =================================================================
8- Parameter Choices/Defaults Comments
9- ============ =================== =================================================================
10- state 'present', 'absent' Whether the line should be there or not.
11- regrexp The regular expression to look for in every line of the file.
12- line The line to insert/replace into the file.
7+ .. table :: A list of supported commands
8+
9+ ============ =================== =================================================================
10+ Parameter Choices/Defaults Comments
11+ ============ =================== =================================================================
12+ state 'present', 'absent' Whether the line should be there or not.
13+ regrexp The regular expression to look for in every line of the file.
14+ line The line to insert/replace into the file.
1315
1416
1517Here are currently supported features::
Original file line number Diff line number Diff line change 55company : " C.W."
66version : " 0.0.2"
77current_version : " 0.0.2"
8- release : " 0.0.1 "
8+ release : " 0.0.2 "
99copyright_year : 2020
1010license : newbsd
11- dependencies : []
11+ dependencies :
12+ - moban>=0.8.1
1213description : " Ansible filters, tests and utility functions for moban users"
1314lint_command : make install_test lint format git-diff-check
1415moban_command : moban -f mobanfile
You can’t perform that action at this time.
0 commit comments