mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 14:20:22 -07:00
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:
parent
8c76619799
commit
775ab35ddd
26 changed files with 53 additions and 0 deletions
12
tests/integration/targets/setup_pkg_mgr/tasks/main.yml
Normal file
12
tests/integration/targets/setup_pkg_mgr/tasks/main.yml
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue