mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add get_distribution_Archlinux (#15696)
This commit is contained in:
parent
fff94551a1
commit
d72a03deae
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue