cytopia / ansible-module-diff Goto Github PK
View Code? Open in Web Editor NEWAnsible module to diff strings, file contents or command outputs against each other
License: GNU General Public License v3.0
Ansible module to diff strings, file contents or command outputs against each other
License: GNU General Public License v3.0
The full traceback is:
Traceback (most recent call last):
File "/home/vik/.ansible/tmp/ansible-tmp-1552865637.1434965-8627458176773/AnsiballZ_difference.py", line 114, in
_ansiballz_main()
File "/home/vik/.ansible/tmp/ansible-tmp-1552865637.1434965-8627458176773/AnsiballZ_difference.py", line 106, in _ansiballz_main
invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
File "/home/vik/.ansible/tmp/ansible-tmp-1552865637.1434965-8627458176773/AnsiballZ_difference.py", line 49, in invoke_module
imp.load_module('main', mod, module, MOD_DESC)
File "/usr/lib/python3.6/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.6/imp.py", line 170, in load_source
module = _exec(spec, sys.modules[name])
File "", line 618, in _exec
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/tmp/ansible_difference_payload__2_x8wp3/main.py", line 385, in
File "/tmp/ansible_difference_payload__2_x8wp3/main.py", line 359, in main
File "/tmp/ansible_difference_payload__2_x8wp3/main.py", line 259, in retrieve_input
AttributeError: 'str' object has no attribute 'decode'
fatal: [localhost]: FAILED! => {
"changed": false,
"module_stderr": "Traceback (most recent call last):\n File "/home/vik/.ansible/tmp/ansible-tmp-1552865637.1434965-8627458176773/AnsiballZ_difference.py", line 114, in \n _ansiballz_main()\n File "/home/vik/.ansible/tmp/ansible-tmp-1552865637.1434965-8627458176773/AnsiballZ_difference.py", line 106, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File "/home/vik/.ansible/tmp/ansible-tmp-1552865637.1434965-8627458176773/AnsiballZ_difference.py", line 49, in invoke_module\n imp.load_module('main', mod, module, MOD_DESC)\n File "/usr/lib/python3.6/imp.py", line 235, in load_module\n return load_source(name, filename, file)\n File "/usr/lib/python3.6/imp.py", line 170, in load_source\n module = _exec(spec, sys.modules[name])\n File "", line 618, in _exec\n File "", line 678, in exec_module\n File "", line 219, in _call_with_frames_removed\n File "/tmp/ansible_difference_payload__2_x8wp3/main.py", line 385, in \n File "/tmp/ansible_difference_payload__2_x8wp3/main.py", line 359, in main\n File "/tmp/ansible_difference_payload__2_x8wp3/main.py", line 259, in retrieve_input\nAttributeError: 'str' object has no attribute 'decode'\n",
"module_stdout": "",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
"rc": 1
}
PLAY RECAP *********************************************************************
localhost : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Also, ansible pushed me to rename diff to difference.
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.