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

Node exporter step "download and untar node_exporter tarball" is always "changed" #45

Open
Rudd-O opened this issue Mar 22, 2017 · 1 comment · May be fixed by #68
Open

Node exporter step "download and untar node_exporter tarball" is always "changed" #45

Rudd-O opened this issue Mar 22, 2017 · 1 comment · May be fixed by #68

Comments

@Rudd-O
Copy link

Rudd-O commented Mar 22, 2017

TASK [ansible-prometheus : download and untar node_exporter tarball] ***********
changed: [hw01] => {"changed": true, "dest": "/opt/prometheus", "extract_results": {"cmd": ["/bin/tar", "--extract", "-C", "/opt/prometheus", "-z", "-f", "/tmp/ansible_IxDpGS/node_exporter-0.13.0.linux-amd64.tar.gz"], "err": "", "out": "", "rc": 0}, "gid": 1001, "group": "prometheus", "handler": "TgzArchive", "mode": "0750", "owner": "prometheus", "size": 4096, "src": "/tmp/ansible_IxDpGS/node_exporter-0.13.0.linux-amd64.tar.gz", "state": "directory", "uid": 1001}

Happens every time the role runs. This should not be happening.

@vincemukiiri
Copy link

vincemukiiri commented May 14, 2018

This seems to be the case for the tasks that download prometheus, node exporter and alert manager. There should be a test to check whether they are already installed in which case there is no need to download them.

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

Successfully merging a pull request may close this issue.

2 participants