Skip to content
This repository was archived by the owner on Aug 13, 2020. It is now read-only.
This repository was archived by the owner on Aug 13, 2020. It is now read-only.

TypeError: set_options() got an unexpected keyword argument 'task_key #12

Open
@endejoli

Description

@endejoli

I am getting below error while executing the playbook with ansible_annotation callback enabled

Ansible version: 2.7.12
$ cat ansible.cfg
[default]
callback_whitelist = skippy,profile_tasks,grafana_annotations

[callback_grafana_annotations]
grafana_url = "http://152.80.187.181/api/annotations"

ERROR! Unexpected Exception, this is probably a bug: set_options() got an unexpected keyword argument 'task_keys'
the full traceback was:

Traceback (most recent call last):
File "/usr/bin/ansible-playbook", line 106, in
exit_code = cli.run()
File "/usr/lib/python2.7/dist-packages/ansible/cli/playbook.py", line 130, in run
results = pbex.run()
File "/usr/lib/python2.7/dist-packages/ansible/executor/playbook_executor.py", line 90, in run
self._tqm.load_callbacks()
File "/usr/lib/python2.7/dist-packages/ansible/executor/task_queue_manager.py", line 209, in load_callbacks
callback_obj .set_options(C.config.get_plugin_options('callback', callback_plugin._load_name))
File "/var/lib/awx/projects/_59__sshgitgitlababc7999testgit_development/ansible/callback_plugins/grafana_annotations.py", line 155, in set_options
super(CallbackModule, self).set_options(task_keys=task_keys, var_options=var_options, direct=direct)
TypeError: set_options() got an unexpected keyword argument 'task_keys'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions