You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
487 B

---
- name: Create opt directory
become: true
file:
path: /opt/nprobe/sbin
state: directory
mode: 0755
- name: Download nprobe
get_url:
url: "{{ nprobe_linux }}"
dest: /opt/nprobe/sbin/nprobe
checksum: "{{ nprobe_linux_sha256 }}"
mode: 0755
- name: Create systemd unit
template:
src: templates/nprobe_probe.service.j2
dest: /etc/systemd/system/nprobe_probe.service
- name: Start probe
systemd:
name: nprobe_probe
state: started