diff options
author | Brian Coca <brian.coca+git@gmail.com> | 2015-04-28 10:16:14 -0400 |
---|---|---|
committer | Brian Coca <brian.coca+git@gmail.com> | 2015-04-28 10:16:14 -0400 |
commit | 6a8062baad3d62613d054d6159b3bd2e2b3aad56 (patch) | |
tree | 04dbabd99271df16ae1297d6a930a6c32e78480f /lib | |
parent | 4205d74b11792988d96732bf49d58cbbc2e33b6a (diff) | |
download | ansible-6a8062baad3d62613d054d6159b3bd2e2b3aad56.tar.gz |
accidentally 'fixes' ubuntu distribution parsing, this order should not matter, need followup to figure out why this is the case
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ansible/module_utils/facts.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ansible/module_utils/facts.py b/lib/ansible/module_utils/facts.py index 4689dd2da9..125dbee141 100644 --- a/lib/ansible/module_utils/facts.py +++ b/lib/ansible/module_utils/facts.py @@ -99,8 +99,8 @@ class Facts(object): ('/etc/os-release', 'SuSE'), ('/etc/gentoo-release', 'Gentoo'), ('/etc/os-release', 'Debian'), - ('/etc/lsb-release', 'Mandriva'), - ('/etc/os-release', 'NA') ) + ('/etc/os-release', 'NA'), + ('/etc/lsb-release', 'Mandriva')) SELINUX_MODE_DICT = { 1: 'enforcing', 0: 'permissive', -1: 'disabled' } # A list of dicts. If there is a platform with more than one |