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
Andreas Lutro b5b5410575
move conversion of data to json in slack API handling (#1101)
* 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>
2020-10-19 10:58:14 +03:00
..
action use FQCN when calling a module from action plugin (#967) 2020-09-28 22:06:08 +02:00
become Fix various sanity errors in plugins (#881) 2020-09-16 11:06:45 +02:00
cache cache/redis: make keyset keyname configurable (#1036) 2020-10-11 15:16:59 +02:00
callback Improve plugin sanity (#966) 2020-09-28 21:21:51 +02:00
connection Improve plugin sanity (#966) 2020-09-28 21:21:51 +02:00
doc_fragments Scaleway - Fix api_token documentation (#747) 2020-08-10 10:51:42 +02:00
filter JC plugin (#750) 2020-08-11 09:12:17 +03:00
inventory Add inventory plugin for Stackpath Edge Compute (#856) 2020-09-30 14:12:42 +03:00
lookup Respect VAULT_SKIP_VERIFY envionment variable setting in hashi_vault lookup plugin (#1024) 2020-10-09 14:23:04 +02:00
module_utils Support same reset actions on Managers as on Systems (#903) 2020-09-23 08:42:56 +02:00
modules move conversion of data to json in slack API handling (#1101) 2020-10-19 10:58:14 +03:00