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

21 lines
418 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: add the cfg80211 module
modprobe:
name: cfg80211
state: present
- name: start the node_exporter service
systemd:
name: node_exporter
state: started
enabled: yes
daemon_reload: yes
failed_when: false