2020-03-29 21:34:10 +02:00
|
|
|
---
|
2020-09-25 08:01:17 +02:00
|
|
|
####################################################################
|
|
|
|
# WARNING: These are designed specifically for Ansible tests #
|
|
|
|
# and should not be used as examples of how to write Ansible roles #
|
|
|
|
####################################################################
|
|
|
|
|
2020-03-29 21:34:10 +02:00
|
|
|
- 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"
|