Fix typo in Slack Callback plugin (#38286)

`get_options` is an undefined method from CallbackBase

As a result, remove the trailing `s` letter.

Signed-off-by: Daniel Andrei Minca <mandrei17@gmail.com>
This commit is contained in:
Daniel Andrei Mincă 2018-04-05 17:18:41 +03:00 committed by Sviatoslav Sydorenko
parent 20a5987c30
commit 5cf1420251

View file

@ -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)]