mesaguy / ansible-prometheus

Ansible role for the management of Prometheus software and Prometheus exporters

Home Page:https://galaxy.ansible.com/mesaguy/prometheus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sysvinit issue on Devuan

divansantana opened this issue · comments

I think your ansible role is pretty impressive.

Was wondering about you adding support for Devuan. Which is basically
Debian using sysvinit.

All worked so far except it fails here:

TASK [mesaguy.prometheus : Include task to symlink latest node_exporter-v1.0.0 directory to an "active" directory] ****************************************************************************
included: /home/ds/src/ds-santanas-ansible/roles_external/mesaguy.prometheus/tasks/_install_active_symlink.yml for stone

TASK [mesaguy.prometheus : Link /opt/prometheus/exporters/node_exporter/v1.0.0 to /opt/prometheus/exporters/node_exporter/active] *************************************************************
changed: [stone]

TASK [mesaguy.prometheus : Include task to setup capabilites for node_exporter-v1.0.0 files] **************************************************************************************************
skipping: [stone]

TASK [mesaguy.prometheus : Include task to setup node_exporter-v1.0.0 service] ****************************************************************************************************************
included: /home/ds/src/ds-santanas-ansible/roles_external/mesaguy.prometheus/tasks/_service.yml for stone

TASK [mesaguy.prometheus : Verify node_exporter-v1.0.0 permissions] ***************************************************************************************************************************
ok: [stone]

TASK [mesaguy.prometheus : Create environment file for node_exporter service] *****************************************************************************************************************
skipping: [stone]

TASK [mesaguy.prometheus : Include task to setup node_exporter-v1.0.0 sysvinit service] *******************************************************************************************************
fatal: [stone]: FAILED! => {"reason": "Could not find or access '/home/ds/src/ds-santanas-ansible/playbooks/_service_mgr_sysvinit.yml' on the Ansible Controller."}

In the short term, I would be happy to look at a pull request if you add support. Otherwise, I'll look into supporting Devuan in the next major release in a month or two