From f87e67cfb647204cac068e8cec1489bb4964d7c3 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 30 Jan 2017 10:31:34 -0500 Subject: [PATCH] added runit and daemontools to service mgr detect --- lib/ansible/module_utils/facts.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ansible/module_utils/facts.py b/lib/ansible/module_utils/facts.py index 9522bfe86f..c628cc1507 100644 --- a/lib/ansible/module_utils/facts.py +++ b/lib/ansible/module_utils/facts.py @@ -338,6 +338,8 @@ class Facts(object): # Mapping of proc_1 values to more useful names proc_1_map = { 'procd': 'openwrt_init', + 'runit-init': 'runit', + 'svscan': 'svc', } # try various forms of querying pid 1