1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #11084 from echiu64/devel

More complex example of using test-module
This commit is contained in:
Brian Coca 2015-07-21 21:29:25 -04:00
commit d3fe9b3194

View file

@ -33,6 +33,22 @@ Example:
This is a good way to insert a breakpoint into a module, for instance.
For more complex arguments such as the following yaml:
```yaml
parent:
child:
- item: first
val: foo
- item: second
val: boo
```
Use:
$ ./hacking/test-module -m module \
-a "{"parent": {"child": [{"item": "first", "val": "foo"}, {"item": "second", "val": "bar"}]}}"
Module-formatter
----------------