Set pkg_mgr facts manually for FreeBSD and OpenSUSE (#60)

* Set pkg_mgr facts manually for FreeBSD and OpenSUSE.

ci_complete

* Make pkg_mgr fact work everywhere.
This commit is contained in:
Felix Fontein 2020-03-29 21:34:10 +02:00 committed by GitHub
commit 775ab35ddd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 53 additions and 0 deletions

View file

@ -0,0 +1,12 @@
---
- set_fact:
pkg_mgr: community.general.pkgng
ansible_pkg_mgr: community.general.pkgng
cacheable: yes
when: ansible_os_family == "FreeBSD"
- set_fact:
pkg_mgr: community.general.zypper
ansible_pkg_mgr: community.general.zypper
cacheable: yes
when: ansible_os_family == "Suse"