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

"msg": "Could not find the requested service blackbox_exporter: host" #74

Open
garyyang6 opened this issue Apr 18, 2023 · 0 comments
Open

Comments

@garyyang6
Copy link

Not able to deploy. I got errors. Please help.

ansible-playbook -i hosts site.yml --vault-password-file group_vars/grafana/vault --check -vvvvv

I got errors as follows:

fatal: [10.10.2.19]: FAILED! => {
    "changed": false,
    "invocation": {
        "module_args": {
            "daemon_reexec": false,
            "daemon_reload": true,
            "enabled": true,
            "force": null,
            "masked": null,
            "name": "blackbox_exporter",
            "no_block": false,
            "scope": "system",
            "state": "started"
        }
    },
    "msg": "Could not find the requested service blackbox_exporter: host"
}

ansible all -m ping

10.10.2.19 | SUCCESS => {
    "ansible_facts": {
        "discovered_interpreter_python": "/usr/bin/python3"
    },
    "changed": false,
    "ping": "pong"
}

cat hosts:

10.10.2.19 ansible_host=10.10.2.19 ansible_user=root

[prometheus]
10.10.2.19

[alertmanager]
10.10.2.19

[grafana]
10.10.2.19

[exporters]
10.10.2.19

[web]
10.10.2.19
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

1 participant