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
parent 8c76619799
commit 775ab35ddd
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"