]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-node-exporter: use modprobe ansible module
authorDimitri Savineau <dsavinea@redhat.com>
Tue, 11 Jun 2019 13:35:28 +0000 (09:35 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 12 Jun 2019 14:02:54 +0000 (10:02 -0400)
commit7c6a09152d077ea416153a4c56784e9abacec8f9
tree652e9e0808900dc1dd7bda9804b6faf00a2b9fcc
parent138fa19ccf6c8e336c918413da56189877363cc9
ceph-node-exporter: use modprobe ansible module

Instead of using the modprobe command from the path in the systemd
unit script, we can use the modprobe ansible module.
That way we don't have to manage the binary path based on the linux
distribution.

Resolves: #4072

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit dbf81b6b5bd6d7e977706a93f9e75b38efe32305)
roles/ceph-node-exporter/tasks/setup_container.yml
roles/ceph-node-exporter/templates/node_exporter.service.j2