diff --git a/lib/ansible/module_utils/facts.py b/lib/ansible/module_utils/facts.py index e9bce329c6..2e7ecacb9f 100644 --- a/lib/ansible/module_utils/facts.py +++ b/lib/ansible/module_utils/facts.py @@ -673,7 +673,7 @@ class Distribution(object): self.facts['distribution'] = self.system self.facts['distribution_release'] = platform.release() self.facts['distribution_version'] = platform.version() - systems_implemented = ('AIX', 'HP-UX', 'Darwin', 'FreeBSD', 'OpenBSD', 'SunOS') + systems_implemented = ('AIX', 'HP-UX', 'Darwin', 'FreeBSD', 'OpenBSD', 'SunOS', 'DragonFly') self.facts['distribution'] = self.system @@ -777,6 +777,9 @@ class Distribution(object): else: self.facts['distribution_version'] = 'release' + def get_distribution_DragonFly(self): + pass + def get_distribution_Slackware(self, name, data, path): if 'Slackware' not in data: return False # TODO: remove