parent
3453dace85
commit
ffc46e1648
1 changed files with 2 additions and 2 deletions
|
@ -194,7 +194,7 @@ Our :ref:`debugging tips <debugging>` will help if you run into bugs as you exer
|
|||
Exercising module code locally
|
||||
------------------------------
|
||||
|
||||
If you module does not need to target a remote host, you can quickly and easily exercise you code locally like this:
|
||||
If your module does not need to target a remote host, you can quickly and easily exercise your code locally like this:
|
||||
|
||||
- Create an arguments file, a basic JSON config file that passes parameters to your module so you can run it. Name the arguments file ``/tmp/args.json`` and add the following content:
|
||||
|
||||
|
@ -213,7 +213,7 @@ If you module does not need to target a remote host, you can quickly and easily
|
|||
- Run your test module locally and directly:
|
||||
``$ python -m ansible.modules.cloud.azure.my_new_test_module /tmp/args.json``
|
||||
|
||||
This should return output something like this:
|
||||
This should return output like this:
|
||||
|
||||
.. code:: json
|
||||
|
||||
|
|
Loading…
Reference in a new issue