mirror of https://github.com/ceph/ceph-ansible.git
21 lines
418 B
YAML
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 |