Skip to content

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

@garyyang6

Description

@garyyang6

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions