Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no action detected in task: create grafana datasource #122

Closed
thu07 opened this issue Oct 4, 2019 · 5 comments
Closed

no action detected in task: create grafana datasource #122

thu07 opened this issue Oct 4, 2019 · 5 comments
Assignees

Comments

@thu07
Copy link

thu07 commented Oct 4, 2019

Hi

I'm new to Ansible. When I follow the steps to install Dataverse-ansible, I met the problem with 'grafana datasource creation' as follows:

[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is discouraged. The
module documentation details page may explain more about this rationale.. This feature will be
removed in a future release. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.

The error appears to have been in '/home/osboxes/dataverse/tasks/grafana.yml': line 68, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  • name: create grafana datasource
    ^ here

image
image

@donsizemore
Copy link
Contributor

I don't get this in current master (on CentOS 7):

TASK [dataverse : create grafana datasource] *********************************** changed: [default] => {"changed": true, "id": 1, "msg": "Datasource prometheus created : Datasource added", "name": "prometheus"}

How are you launching Ansible (version, platform, etc)?

Full disclosure: I'm only using default values.

@donsizemore donsizemore self-assigned this Oct 4, 2019
@thu07
Copy link
Author

thu07 commented Oct 4, 2019

Hi Don

Thanks for your reply. I installed the Dataverse-ansible on Centos 7 in the Virtualbox 6.0. The Ansible version is 2.4.2.0 . I use the default values as well.

@donsizemore
Copy link
Contributor

That may be the difference: my CentOS 7 box picks up ansible-2.8.5.

2.4 may not include the grafana_datasource module.

@thu07
Copy link
Author

thu07 commented Oct 4, 2019

Yeah. That's maybe the problem. I will update the ansible and try again. Thanks.

@thu07
Copy link
Author

thu07 commented Oct 4, 2019

It works. Thank you.

@thu07 thu07 closed this as completed Oct 4, 2019
pallinger pushed a commit to dsd-sztaki-hu/dataverse-ansible-deprecated that referenced this issue Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants