community.general/lib/ansible/plugins/action
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
add_host.py
aireos.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
aireos_config.py Network *_config action plugin updates (#43838) 2018-08-08 15:15:08 -04:00
aruba.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
aruba_config.py Network *_config action plugin updates (#43838) 2018-08-08 15:15:08 -04:00
asa.py Let called functions use `method` keyword (#43086) 2018-07-22 15:26:44 -04:00
asa_config.py Network *_config action plugin updates (#43838) 2018-08-08 15:15:08 -04:00
assemble.py
assert.py Ensure action plugins accept only valid args (#44779) 2018-08-30 09:40:36 -04:00
async_status.py async: use async_dir for the async results file directory (#45461) 2018-09-20 19:37:54 +10:00
aws_s3.py
bigip.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
bigiq.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
ce.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
ce_config.py Network *_config action plugin updates (#43838) 2018-08-08 15:15:08 -04:00
ce_template.py
cli_command.py cli_command module (#42916) 2018-08-06 10:41:57 -04:00
cli_config.py Add cli_config module (#42413) 2018-08-14 13:52:15 +05:30
cnos.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
cnos_config.py Network *_config action plugin updates (#43838) 2018-08-08 15:15:08 -04:00
command.py
copy.py
debug.py Ensure action plugins accept only valid args (#44779) 2018-08-30 09:40:36 -04:00
dellos6.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
dellos6_config.py Network *_config action plugin updates (#43838) 2018-08-08 15:15:08 -04:00
dellos9.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
dellos9_config.py Network *_config action plugin updates (#43838) 2018-08-08 15:15:08 -04:00
dellos10.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
dellos10_config.py Network *_config action plugin updates (#43838) 2018-08-08 15:15:08 -04:00
edgeos_config.py
enos.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
enos_config.py
eos.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
eos_config.py
exos_config.py new module exos_config (#43902) 2018-08-15 14:56:50 -07:00
fail.py Ensure action plugins accept only valid args (#44779) 2018-08-30 09:40:36 -04:00
fetch.py 2.8 Core Deprecation Removal (#45232) 2018-09-10 15:05:52 -05:00
fortios_config.py
group_by.py Ensure action plugins accept only valid args (#44779) 2018-08-30 09:40:36 -04:00
include_vars.py include_vars: fix checking for a string in ignore_files 2018-09-14 11:18:00 -04:00
ios.py Don't close persistent connection socket on command timeout (#43071) 2018-07-23 07:07:06 +05:30
ios_config.py
iosxr.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
iosxr_config.py Network *_config action plugin updates (#43838) 2018-08-08 15:15:08 -04:00
ironware.py Ironware: Deprecate provider, support network_cli (#43285) 2018-07-27 12:51:45 +05:30
ironware_config.py Network *_config action plugin updates (#43838) 2018-08-08 15:15:08 -04:00
junos.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
junos_config.py Network *_config action plugin updates (#43838) 2018-08-08 15:15:08 -04:00
net_banner.py
net_base.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
net_config.py Network *_config action plugin updates (#43838) 2018-08-08 15:15:08 -04:00
net_get.py
net_interface.py
net_l2_interface.py
net_l3_interface.py
net_linkagg.py
net_lldp.py
net_lldp_interface.py
net_logging.py
net_ping.py
net_put.py ios_file: Don't leave leftover files behind (#42622) 2018-07-12 12:26:14 +05:30
net_static_route.py
net_system.py
net_user.py
net_vlan.py
net_vrf.py
netconf.py Update netconf_config module (#44379) 2018-08-21 20:41:18 +05:30
netconf_config.py Update netconf_config module (#44379) 2018-08-21 20:41:18 +05:30
normal.py
nos_config.py new nos_config module (#44140) 2018-08-21 10:02:40 -07:00
nxos.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
nxos_config.py Network *_config action plugin updates (#43838) 2018-08-08 15:15:08 -04:00
onyx_config.py Network *_config action plugin updates (#43838) 2018-08-08 15:15:08 -04:00
ops_config.py
package.py
patch.py
pause.py Ensure action plugins accept only valid args (#44779) 2018-08-30 09:40:36 -04:00
raw.py
reboot.py Make sure strings are bytes for Py2/3 compatibility (#45746) 2018-09-18 10:10:47 -04:00
script.py win_script: add support for become and centralise exec wrapper builder (#45582) 2018-09-13 08:50:13 +10:00
service.py Mass nuke deprecated items that are easily removed. ci_complete (#44320) 2018-08-20 16:26:10 -05:00
set_fact.py Don't perform string to bool conversion in set_fact when jinja2 native types is enabled (#43425) 2018-07-30 15:44:38 -05:00
set_stats.py Ensure action plugins accept only valid args (#44779) 2018-08-30 09:40:36 -04:00
shell.py
slxos_config.py add missing slxos_config action plugin (#44103) 2018-08-21 10:03:36 -07:00
sros.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
sros_config.py Network *_config action plugin updates (#43838) 2018-08-08 15:15:08 -04:00
synchronize.py
telnet.py Fix telnet action plugin type error (#43609) 2018-08-03 09:50:14 -04:00
template.py Allow specifying the output encoding in the template module (#42171) 2018-07-25 13:10:40 -07:00
unarchive.py
uri.py
vyos.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
vyos_config.py
wait_for_connection.py Ensure action plugins accept only valid args (#44779) 2018-08-30 09:40:36 -04:00
win_copy.py
win_reboot.py Ensure action plugins accept only valid args (#44779) 2018-08-30 09:40:36 -04:00
win_template.py
win_updates.py
yum.py YUM4/DNF compatibility via yum action plugin (#44322) 2018-08-27 10:17:47 -07:00