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 1
1
name : moban-ansible
2
2
organisation : moremoban
3
3
releases :
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
4
10
- changes :
5
11
- action : first release
6
12
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
4
4
It has been requested to have line in file feature from ansible. So far, it supports three parameters.
5
5
6
6
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.
13
15
14
16
15
17
Here are currently supported features::
Original file line number Diff line number Diff line change 5
5
company : " C.W."
6
6
version : " 0.0.2"
7
7
current_version : " 0.0.2"
8
- release : " 0.0.1 "
8
+ release : " 0.0.2 "
9
9
copyright_year : 2020
10
10
license : newbsd
11
- dependencies : []
11
+ dependencies :
12
+ - moban>=0.8.1
12
13
description : " Ansible filters, tests and utility functions for moban users"
13
14
lint_command : make install_test lint format git-diff-check
14
15
moban_command : moban -f mobanfile
You can’t perform that action at this time.
0 commit comments