1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins
patchback[bot] e3e3682eb3
move conversion of data to json in slack API handling (#1101) (#1120)
* move conversion of data to json in slack API handling

at one point in do_notify_slack, we do operations on the payload
variable assuming it's a dict, but it's not: it's a json encoded string.

it's useful to operate on the payload as a dict rather than a string, so
solve this problem by moving the jsonify call to right before sending
the payload to the slack API.

fixes #1097

* add changelog fragment

* Update changelogs/fragments/1101-slack-ts-fix.yaml

Co-authored-by: Felix Fontein <felix@fontein.de>

* return payload as a json encoded string for backwards compatibility

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit b5b5410575)

Co-authored-by: Andreas Lutro <anlutro@gmail.com>
2020-10-19 11:33:03 +03:00
..
action use FQCN when calling a module from action plugin (#967) (#988) 2020-09-29 06:17:45 +00:00
become Fix various sanity errors in plugins (#881) (#893) 2020-09-17 16:39:57 +00:00
cache cache/redis: make keyset keyname configurable (#1036) (#1074) 2020-10-11 20:05:17 +02:00
callback Improve plugin sanity (#966) (#984) 2020-09-29 04:04:05 +00:00
connection Improve plugin sanity (#966) (#984) 2020-09-29 04:04:05 +00:00
doc_fragments Scaleway - Fix api_token documentation (#747) 2020-08-18 08:30:30 +02:00
filter JC plugin (#750) 2020-08-18 08:30:37 +02:00
inventory Add inventory plugin for Stackpath Edge Compute (#856) (#1013) 2020-09-30 13:52:47 +02:00
lookup Respect VAULT_SKIP_VERIFY envionment variable setting in hashi_vault lookup plugin (#1024) (#1062) 2020-10-09 15:30:11 +02:00
module_utils Support same reset actions on Managers as on Systems (#903) (#947) 2020-09-23 09:04:51 +02:00
modules move conversion of data to json in slack API handling (#1101) (#1120) 2020-10-19 11:33:03 +03:00