Skip to content

Commit

Permalink
Update node-exporter unzip issue (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnirudhPokala authored Jan 9, 2025
1 parent ff8075b commit e68f06a
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@
- "{{ archive }}"
- "{{ archive }}.sha256sum"

- name: Pull pause image
shell: ctr -n=k8s.io images pull public.ecr.aws/platform9/pause:3.6

- name: restart containerd service
systemd:
name: containerd
Expand Down Expand Up @@ -275,10 +278,18 @@
- name: Unzip node-exporter
unarchive:
src: "/tmp/node_exporter.tar.gz"
dest: "/opt/pf9/"
dest: "/tmp/"
remote_src: yes
mode: "0755"

- name: Move node exporter to /opt/pf9
copy:
src: "/tmp/node_exporter-1.5.0.linux-amd64/node_exporter"
dest: "/opt/pf9/node_exporter"
mode: '0755'
remote_src: yes


- name: Create systemd unit file
template:
src: pf9-node-exporter.service.j2
Expand Down

0 comments on commit e68f06a

Please sign in to comment.