Skip to content

Commit

Permalink
added back return false for when not debian
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoca committed Feb 1, 2017
1 parent da1c137 commit d4a8816
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ansible/module_utils/facts.py
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,8 @@ def get_distribution_Debian(self, name, data, path):
elif 'Ubuntu' in data:
self.facts['distribution'] = 'Ubuntu'
# nothing else to do, Ubuntu gets correct info from python functions
else:
return False

def get_distribution_Mandriva(self, name, data, path):
if 'Mandriva' in data:
Expand Down

0 comments on commit d4a8816

Please sign in to comment.