Created
December 29, 2015 06:02
-
-
Save martbhell/025f167294e1f71a8c83 to your computer and use it in GitHub Desktop.
facts.py and docker and travis-ci fix attempt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- lib/ansible/module_utils/facts.py.org 2015-12-29 07:50:57.178262553 +0200 | |
+++ lib/ansible/module_utils/facts.py 2015-12-29 07:58:39.263313953 +0200 | |
@@ -558,6 +558,8 @@ | |
if proc_1 in ['init', '/sbin/init', 'bash']: | |
# many systems return init, so this cannot be trusted, bash is from docker | |
proc_1 = None | |
+ self.facts['service_mgr'] = 'systemd' | |
+ | |
# if not init/None it should be an identifiable or custom init, so we are done! | |
if proc_1 is not None: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment