community.general/lib/ansible/modules
Ted Timmons 887456ab8e Fix stderr false return value (#22845)
* ensure exit_json does not fail from stderr=False

- do a little bit of safety-checking in exit_json to not try to .splitlines() on a boolean
- remove the stderr=boolean from uri.py, this is the only spot that uses it (at least so obviously)
- add unit tests that call exit_json. These are useless because the stderr parsing is in _execute_module and is difficult to mock; deleting these tests after the commit.

* remove added unit tests per prev commit

exit_json doesn't do the param parsing, that is buried deep inside _execute_module.
2017-03-21 18:11:11 -04:00
..
cloud Fix get_s3_connection (fixes #22317) (#22318) 2017-03-21 08:15:53 -04:00
clustering New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
commands New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
crypto New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
database New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
files ported fix from ansible-core #5639 2017-03-21 16:03:00 -04:00
identity New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
inventory New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
messaging New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
monitoring New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
network Fix stderr false return value (#22845) 2017-03-21 18:11:11 -04:00
notification New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
packaging New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
remote_management New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
source_control New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
storage Fix render issue (#22650) 2017-03-15 16:31:37 +00:00
system fixed name to unit 2017-03-21 14:28:23 -04:00
utilities New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
web_infrastructure New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
windows Add Missing default param for caching_mode (#22753) 2017-03-17 14:44:42 -07:00
__init__.py Re-adding the init py for modules 2016-12-08 11:35:20 -05:00