1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/docs
Pilou 60160c1e90 doc: exercising module code locally: update cmd (#45697)
The documented way to execute module code locally wasn't always working:

    $ python ./lib/ansible/modules/files/file.py <<< '{"ANSIBLE_MODULE_ARGS": {}}'
    Traceback (most recent call last):
      File "./lib/ansible/modules/files/file.py", line 177, in <module>
        from ansible.module_utils.basic import AnsibleModule
      File "~/ansible/lib/ansible/module_utils/basic.py", line 78, in <module>
        import tempfile
      File "~/ansible/lib/ansible/modules/files/tempfile.py", line 69, in <module>
        from tempfile import mkstemp, mkdtemp
    ImportError: cannot import name 'mkstemp'
2018-09-19 10:10:55 -04:00
..
api docs: PEP8 compliance (#24681) 2017-05-30 18:08:25 +01:00
bin Docs: Make docsite rebuilds smarter/faster (#45062) 2018-09-12 13:50:36 -07:00
docsite doc: exercising module code locally: update cmd (#45697) 2018-09-19 10:10:55 -04:00
man added docs to CLI docstringsadded 2017-03-24 15:52:36 -04:00
templates Only print warning when ansible.cfg is actually skipped (#43583) 2018-08-03 10:39:33 -07:00