mirror of https://github.com/ceph/ceph-ansible.git
17 lines
336 B
YAML
17 lines
336 B
YAML
---
|
|
- name: ship systemd service
|
|
template:
|
|
src: node_exporter.service.j2
|
|
dest: "/etc/systemd/system/node_exporter.service"
|
|
owner: root
|
|
group: root
|
|
mode: 0644
|
|
|
|
- name: start the node_exporter service
|
|
systemd:
|
|
name: node_exporter
|
|
state: started
|
|
enabled: yes
|
|
daemon_reload: yes
|
|
failed_when: false
|