-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
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
Labels
No labels