mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-22 11:53:12 +00:00
af8fc8fd9e
Add a role for deploying the mysqld_exporter. Signed-off-by: SuperQ <superq@gmail.com>
20 lines
613 B
Markdown
20 lines
613 B
Markdown
# Troubleshooting
|
|
|
|
## Bad requests (HTTP 400)
|
|
|
|
This role downloads checksums from the Github project to verify the integrity of artifacts installed on your servers. When downloading the checksums, a "bad request" error might occur.
|
|
|
|
This happens in environments which (knowningly or unknowling) use the [netrc mechanism](https://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html) to auto-login into servers.
|
|
|
|
Unless netrc is needed by your playbook and ansible roles, please unset the var like so:
|
|
|
|
```
|
|
$ NETRC= ansible-playbook ...
|
|
```
|
|
|
|
Or:
|
|
|
|
```
|
|
$ export NETRC=
|
|
$ ansible-playbook ...
|
|
```
|