community.general/lib/ansible/plugins/callback
Matt Martz 95e77ac853
Ensure that the src file contents is converted to unicode in diff info (#45744)
* Ensure that the src file contents is converted to unicode in diff info. Fixes #45717

* Fix up and cleanup

* The diff functionality in the callback plugins should have the
  to_text() calls removed since we're now doing it in ActionBase
* catching of UnicodeError and warnings in the callback diff
  functionality from 61d01f549f haven't been
  needed since we switched to to_text so remove them.
* Add a note to ActionBase's diff function giving an example of when the
  diff function will be inaccurate and how to fix it

* Fix callback get_diff() tests

I believe the unittests of callback's get_diff() were wrong.  They were
sending in a list where strings were expected.  Because previous code
was transforming the lists into strings via their repr, the previous
tests did not fail but they would have formatted the test cases output
in an odd way if we had looked at it.
2018-09-20 12:31:48 -05:00
..
__init__.py Ensure that the src file contents is converted to unicode in diff info (#45744) 2018-09-20 12:31:48 -05:00
actionable.py Merge various stdout callback plugins into 'default' (#41058) 2018-06-24 23:00:07 -05:00
cgroup_memory_recap.py Add cgroup_memory_recap callback plugin used to profile memory (#38675) 2018-04-23 14:54:36 -05:00
context_demo.py Python 2.6 str.format() compatibility fixes. 2018-01-10 14:08:11 -08:00
counter_enabled.py Add callback plugin to show current/total numberings for tasks and hosts in a task. (#40769) 2018-08-15 10:22:53 -04:00
debug.py Corrected spelling of 'formatted' (#43785) 2018-08-07 15:49:04 -04:00
default.py Bugfixes and integration tests for 'default' callback plugin 2018-08-15 07:56:17 -07:00
dense.py Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
foreman.py foreman: Fix get_option regression (#40534) 2018-05-22 15:40:51 -05:00
full_skip.py Merge various stdout callback plugins into 'default' (#41058) 2018-06-24 23:00:07 -05:00
grafana_annotations.py callback/grafana_annotations: define validate_grafana_certs type as bool (#42318) 2018-07-05 15:49:58 +10:00
hipchat.py plugins/callbacks : fix some key documentation (#45267) 2018-09-06 15:38:25 -04:00
jabber.py Port ansible doc for plugins to use DOCUMENTATION variables 2017-09-11 18:34:09 -07:00
json.py Add start and end timestamp to task and play result in json callback (#39277) 2018-05-25 11:19:14 -05:00
junit.py Allow non-inclusion of setup task in junit report 2018-05-02 00:00:36 -07:00
log_plays.py fixes typo ansbile to ansible 2018-01-02 17:17:53 -08:00
logdna.py LogDNA Callback Plugin (#40296) 2018-07-11 15:37:01 -04:00
logentries.py Python 2.6 str.format() compatibility fixes. 2018-01-10 14:08:11 -08:00
logstash.py Updated documentation description (#34121) 2017-12-21 13:44:54 +10:00
mail.py mail callback: Exception info less important 2018-04-30 21:45:10 -04:00
minimal.py minimal callback doesn't properly respect changed, bring into alignment with oneline (#41273) 2018-06-07 18:10:26 -04:00
null.py Add plugins to ansible-doc test and fix issues. 2018-05-23 13:10:09 -07:00
oneline.py show changed in online 2018-04-10 17:25:24 -04:00
osx_say.py change OS X to macOS (#41294) 2018-06-26 14:09:23 -04:00
profile_roles.py Convert more http links to https. 2018-04-25 23:12:46 -07:00
profile_tasks.py Convert more http links to https. 2018-04-25 23:12:46 -07:00
selective.py plugins/callbacks : fix some key documentation (#45267) 2018-09-06 15:38:25 -04:00
skippy.py Merge various stdout callback plugins into 'default' (#41058) 2018-06-24 23:00:07 -05:00
slack.py Fix invocation output. Fixes #43447 (#43542) 2018-08-03 12:40:34 -05:00
splunk.py Create splunk.py (#40568) 2018-06-26 13:08:34 -04:00
stderr.py Merge various stdout callback plugins into 'default' (#41058) 2018-06-24 23:00:07 -05:00
sumologic.py Fix broken yaml (#38966) 2018-04-18 20:54:14 +01:00
syslog_json.py syslog_json: fix typos in documentation 2017-11-13 17:11:15 -05:00
timer.py Port ansible doc for plugins to use DOCUMENTATION variables 2017-09-11 18:34:09 -07:00
tree.py Update tree.py 2018-04-19 15:51:06 -04:00
unixy.py fix unixy when debug's msg is not text (#36882) 2018-03-01 09:23:39 +10:00
yaml.py Allow Unicode chars to be dumped by yaml stdout callback (#40188) 2018-05-15 15:23:13 -07:00