mirror of
https://github.com/luzifer-ansible/telegraf.git
synced 2024-11-08 13:50:07 +00:00
Fix: Archive content changed
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
2ac204f300
commit
6621104e1b
1 changed files with 2 additions and 2 deletions
|
@ -13,12 +13,12 @@
|
|||
when: telegraf_version not in telegraf_version_cmd.stdout
|
||||
|
||||
- name: Move telegraf to expected position
|
||||
command: mv /tmp/telegraf/telegraf /usr/local/bin/telegraf
|
||||
command: 'mv /tmp/telegraf-{{ telegraf_version }}/usr/bin/telegraf /usr/local/bin/telegraf'
|
||||
when: telegraf_version not in telegraf_version_cmd.stdout
|
||||
|
||||
- name: Cleanup tmp folder
|
||||
file:
|
||||
dest: /tmp/telegraf
|
||||
dest: '/tmp/telegraf-{{ telegraf_version }}'
|
||||
state: absent
|
||||
when: telegraf_version not in telegraf_version_cmd.stdout
|
||||
|
||||
|
|
Loading…
Reference in a new issue