mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
add pacman to list of package managers in setup module
This commit is contained in:
parent
950e3052b8
commit
54ef6015f6
1 changed files with 2 additions and 1 deletions
|
@ -84,7 +84,8 @@ class Facts(object):
|
||||||
# ansible module, use that as the value for the 'name' key.
|
# ansible module, use that as the value for the 'name' key.
|
||||||
PKG_MGRS = [ { 'path' : '/usr/bin/yum', 'name' : 'yum' },
|
PKG_MGRS = [ { 'path' : '/usr/bin/yum', 'name' : 'yum' },
|
||||||
{ 'path' : '/usr/bin/apt-get', 'name' : 'apt' },
|
{ 'path' : '/usr/bin/apt-get', 'name' : 'apt' },
|
||||||
{ 'path' : '/usr/bin/zypper', 'name' : 'zypper' } ]
|
{ 'path' : '/usr/bin/zypper', 'name' : 'zypper' },
|
||||||
|
{ 'path' : '/usr/bin/pacman', 'name' : 'pacman' } ]
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.facts = {}
|
self.facts = {}
|
||||||
|
|
Loading…
Reference in a new issue