diff --git a/changelogs/fragments/1928-bigpanda-message.yml b/changelogs/fragments/1928-bigpanda-message.yml new file mode 100644 index 0000000000..081b51cc0f --- /dev/null +++ b/changelogs/fragments/1928-bigpanda-message.yml @@ -0,0 +1,2 @@ +bugfixes: +- "bigpanda - actually use the ``deployment_message`` option (https://github.com/ansible-collections/community.general/pull/1928)." diff --git a/plugins/modules/monitoring/bigpanda.py b/plugins/modules/monitoring/bigpanda.py index ea693eb886..8faec5d030 100644 --- a/plugins/modules/monitoring/bigpanda.py +++ b/plugins/modules/monitoring/bigpanda.py @@ -183,7 +183,7 @@ def main(): request_url = url + '/data/events/deployments/start' else: - message = module.params['message'] + message = module.params['deployment_message'] if message is not None: body['errorMessage'] = message