mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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'
|
7 years ago | |
|---|---|---|
| .. | ||
| shared_snippets | 7 years ago | |
| style_guide | 7 years ago | |
| testing/sanity | 7 years ago | |
| Makefile | 9 years ago | |
| debugging.rst | 7 years ago | |
| developing_api.rst | 7 years ago | |
| developing_core.rst | 7 years ago | |
| developing_inventory.rst | 7 years ago | |
| developing_locally.rst | 7 years ago | |
| developing_module_utilities.rst | 7 years ago | |
| developing_modules.rst | 7 years ago | |
| developing_modules_best_practices.rst | 7 years ago | |
| developing_modules_checklist.rst | 7 years ago | |
| developing_modules_documenting.rst | 7 years ago | |
| developing_modules_general.rst | 7 years ago | |
| developing_modules_general_aci.rst | 7 years ago | |
| developing_modules_general_windows.rst | 7 years ago | |
| developing_modules_in_groups.rst | 7 years ago | |
| developing_plugins.rst | 7 years ago | |
| developing_program_flow_modules.rst | 7 years ago | |
| developing_python_3.rst | 7 years ago | |
| developing_rebasing.rst | 7 years ago | |
| index.rst | 7 years ago | |
| module_lifecycle.rst | 7 years ago | |
| overview_architecture.rst | 7 years ago | |
| testing.rst | 7 years ago | |
| testing_compile.rst | 7 years ago | |
| testing_documentation.rst | 7 years ago | |
| testing_httptester.rst | 7 years ago | |
| testing_integration.rst | 7 years ago | |
| testing_pep8.rst | 7 years ago | |
| testing_running_locally.rst | 7 years ago | |
| testing_sanity.rst | 7 years ago | |
| testing_units.rst | 7 years ago | |
| testing_units_modules.rst | 7 years ago | |
| testing_validate-modules.rst | 7 years ago | |