From 19ca1b2b8a908b985443e2deb8a3c73a5cb4c35a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Andrei=20Minc=C4=83?= Date: Wed, 4 Apr 2018 16:29:49 +0300 Subject: [PATCH] Fix typo in Slack Callback plugin (#38268) `get_options` is an undefined method from CallbackBase As a result, remove the trailing `s` letter. Signed-off-by: Daniel Andrei Minca --- lib/ansible/plugins/callback/slack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/callback/slack.py b/lib/ansible/plugins/callback/slack.py index aac9062290c..4638c1b743a 100644 --- a/lib/ansible/plugins/callback/slack.py +++ b/lib/ansible/plugins/callback/slack.py @@ -152,7 +152,7 @@ class CallbackModule(CallbackBase): invocation_items.append('Extra Vars: %s' % ' '.join(extra_vars)) - title.append('by *%s*' % self.get_options('remote_user')) + title.append('by *%s*' % self.get_option('remote_user')) title.append('\n\n*%s*' % self.playbook_name) msg_items = [' '.join(title)]