ceph-ansible/roles/ceph-node-exporter/tasks/setup_container.yml

16 lines
335 B
YAML
Raw Normal View History

---
- 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