@@ -21,21 +21,21 @@ pip install jsonref
21
21
```
22
22
23
23
```
24
- ansible-playbook -e parent=<parent > \
24
+ ansible-playbook -e rm_dest=<destination for modules and module utils > \
25
25
-e structure=role \
26
26
-e model=<model> \
27
27
site.yml
28
28
```
29
29
or
30
30
```
31
- ansible-playbook -e parent=<parent > \
31
+ ansible-playbook -e rm_dest=<destination for modules and module utils > \
32
32
-e structure=collection \
33
33
-e collection_org=<collection_org> \
34
34
-e collection_name=<collection_name> \
35
35
-e model=<model> \
36
36
site.yml
37
37
```
38
- - ` parent ` : The parent directory in which the files and directories should be placed
38
+ - ` rm_dest ` : The directory in which the files and directories for the resource module and facts modules should be placed
39
39
- ` structure ` : The directory layout to be generated (role|collection)
40
40
- ` role ` : Generate a role directory layout
41
41
- ` collection ` : Generate a collection directory layout
@@ -55,7 +55,7 @@ See the `models` directory for an example.
55
55
- ` resource ` : interfaces
56
56
57
57
```
58
- ansible-playbook -e parent =~/github/rm_example \
58
+ ansible-playbook -e rm_dest =~/github/rm_example \
59
59
-e structure=collection \
60
60
-e collection_org=cidrblock \
61
61
-e collection_name=my_collection \
@@ -115,7 +115,7 @@ ansible-playbook -e parent=~/github/rm_example \
115
115
- ` resource ` : interfaces
116
116
117
117
```
118
- ansible-playbook -e parent =~/github/rm_example/roles/my_role \
118
+ ansible-playbook -e rm_dest =~/github/rm_example/roles/my_role \
119
119
-e structure=role \
120
120
-e model=models/myos/interfaces/myos_interfaces.yml \
121
121
site.yml
@@ -262,7 +262,7 @@ def main():
262
262
The tests rely on a role generated by the resource module builder. After changes to the resource module builder, the role should be regenerated and the tests modified and run as needed. To generate the role after changes:
263
263
264
264
```
265
- ansible-playbook -e parent =./rmb_tests/roles/my_role \
265
+ ansible-playbook -e rm_dest =./rmb_tests/roles/my_role \
266
266
-e structure=role \
267
267
-e model=models/myos/interfaces/myos_interfaces.yml \
268
268
site.yml
0 commit comments