cytopia / ansible-modules Goto Github PK
View Code? Open in Web Editor NEWCustom ansible modules
License: GNU General Public License v3.0
Custom ansible modules
License: GNU General Public License v3.0
I know that this was built 5 years ago, but I'm looking for this exact piece of functionality with ansible :(
Receiving this error:
File "/Users/duffy/.ansible/tmp/ansible-tmp-1663685850.6367428-32076-118898947106338/AnsiballZ_cloudformation_diff.py", line 107, in <module>
_ansiballz_main()
File "/Users/duffy/.ansible/tmp/ansible-tmp-1663685850.6367428-32076-118898947106338/AnsiballZ_cloudformation_diff.py", line 99, in _ansiballz_main
invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
File "/Users/duffy/.ansible/tmp/ansible-tmp-1663685850.6367428-32076-118898947106338/AnsiballZ_cloudformation_diff.py", line 47, in invoke_module
runpy.run_module(mod_name='ansible.modules.cloudformation_diff', init_globals=dict(_module_fqn='ansible.modules.cloudformation_diff', _modlib_path=modlib_path),
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 224, in run_module
return _run_module_code(code, init_globals, run_name, mod_spec)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 96, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/var/folders/q3/bbn7n5hn4xdbkw68fy1pxhyw0000gn/T/ansible_cloudformation_diff_payload_eg0bs710/ansible_cloudformation_diff_payload.zip/ansible/modules/cloudformation_diff.py", line 590, in <module>
File "/var/folders/q3/bbn7n5hn4xdbkw68fy1pxhyw0000gn/T/ansible_cloudformation_diff_payload_eg0bs710/ansible_cloudformation_diff_payload.zip/ansible/modules/cloudformation_diff.py", line 488, in main
AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'?
failed: [localhost] (item=default-routes) => {
"ansible_loop_var": "item",
"changed": false,
"item": {
"accounting": "platform",
"classification": "standard",
"name": "default-routes",
"owner": "devops",
"product": "platform",
"service": "platform"
},
"rc": 1
}
MSG:
MODULE FAILURE
See stdout/stderr for the exact error
MODULE_STDERR:
Traceback (most recent call last):
File "/Users/duffy/.ansible/tmp/ansible-tmp-1663685850.6367428-32076-118898947106338/AnsiballZ_cloudformation_diff.py", line 107, in <module>
_ansiballz_main()
File "/Users/duffy/.ansible/tmp/ansible-tmp-1663685850.6367428-32076-118898947106338/AnsiballZ_cloudformation_diff.py", line 99, in _ansiballz_main
invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
File "/Users/duffy/.ansible/tmp/ansible-tmp-1663685850.6367428-32076-118898947106338/AnsiballZ_cloudformation_diff.py", line 47, in invoke_module
runpy.run_module(mod_name='ansible.modules.cloudformation_diff', init_globals=dict(_module_fqn='ansible.modules.cloudformation_diff', _modlib_path=modlib_path),
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 224, in run_module
return _run_module_code(code, init_globals, run_name, mod_spec)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 96, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/var/folders/q3/bbn7n5hn4xdbkw68fy1pxhyw0000gn/T/ansible_cloudformation_diff_payload_eg0bs710/ansible_cloudformation_diff_payload.zip/ansible/modules/cloudformation_diff.py", line 590, in <module>
File "/var/folders/q3/bbn7n5hn4xdbkw68fy1pxhyw0000gn/T/ansible_cloudformation_diff_payload_eg0bs710/ansible_cloudformation_diff_payload.zip/ansible/modules/cloudformation_diff.py", line 488, in main
AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'?```
I'm using macos, python3.10
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.