mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-19 16:03:14 +00:00
* uri: fix TypeError when file can't be saved
Fix the following exception (and others):
Traceback (most recent call last):
File "/home/lilou/debug_dir/__main__.py", line 604, in <module>
main()
File "/home/lilou/debug_dir/__main__.py", line 554, in main
write_file(module, url, dest, content, resp)
File "/home/lilou/debug_dir/__main__.py", line 320, in write_file
module.fail_json(msg="Destination dir '%s' not writable" % os.path.dirname(dest), **resp)
TypeError: fail_json() got multiple values for keyword argument 'msg'
I would rather remove **resp from returned values but this module is
flagged as stableinterface.
* Static imports are more straight forward and preferred unless dynamic inclusion is required.
|
||
|---|---|---|
| .. | ||
| host_vars | ||
| targets | ||
| cloud-config-aws.yml.template | ||
| cloud-config-azure.yml.template | ||
| cloud-config-cloudscale.ini.template | ||
| cloud-config-cs.ini.template | ||
| cloud-config-gcp.yml.template | ||
| cloud-config-gitlab.yml.template | ||
| cloud-config-opennebula.yml.template | ||
| cloud-config-openshift.kubeconfig.template | ||
| cloud-config-tower.cfg.template | ||
| cloud-config-vultr.ini.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 | ||