From d72a03deaee43b1866c3c4243820e86f02ec70b6 Mon Sep 17 00:00:00 2001 From: James Pic Date: Tue, 3 May 2016 17:20:08 +0200 Subject: [PATCH] Add get_distribution_Archlinux (#15696) --- lib/ansible/module_utils/facts.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/ansible/module_utils/facts.py b/lib/ansible/module_utils/facts.py index c3377aa0e5e..d847876f48b 100644 --- a/lib/ansible/module_utils/facts.py +++ b/lib/ansible/module_utils/facts.py @@ -780,6 +780,10 @@ class Distribution(object): if release: self.facts['distribution_release'] = release.groups()[0] + def get_distribution_Archlinux(self, name, data, path): + self.facts['distribution'] = 'Archlinux' + self.facts['distribution_version'] = data + def get_distribution_Alpine(self, name, data, path): self.facts['distribution'] = 'Alpine' self.facts['distribution_version'] = data