60160c1e90
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' |
||
---|---|---|
.. | ||
host_vars | ||
targets | ||
cloud-config-aws.yml.template | ||
cloud-config-azure.yml.template | ||
cloud-config-cs.ini.template | ||
cloud-config-gcp.yml.template | ||
cloud-config-opennebula.yml.template | ||
cloud-config-openshift.kubeconfig.template | ||
cloud-config-tower.cfg.template | ||
integration.cfg | ||
integration_config.yml | ||
inventory | ||
inventory.networking.template | ||
inventory.remote.template | ||
inventory.winrm.template | ||
network-integration.cfg | ||
target-prefixes.network | ||
windows-integration.cfg |