mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add autodetection of atomic as a package manager
On Fedora Atomic Host, there is no yum or dnf, but the module ot use to install package should be atomic_container. We verify that this is a Fedora Atomic Host with rpm-ostree, not atomic since atomic can be used on a regular non ostree distribution.
This commit is contained in:
parent
7170751703
commit
38b8d62e68
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ PKG_MGRS = [{'path': '/usr/bin/yum', 'name': 'yum'},
|
|||
{'path': '/usr/local/sbin/pkg', 'name': 'pkgng'},
|
||||
{'path': '/usr/bin/swupd', 'name': 'swupd'},
|
||||
{'path': '/usr/sbin/sorcery', 'name': 'sorcery'},
|
||||
{'path': '/usr/bin/rpm-ostree', 'name': 'atomic_container'},
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue