mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
e342dfb467
* CI tests: add note to main.yml
* improve
(cherry picked from commit 9d5044ac1a
)
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
17 lines
585 B
YAML
17 lines
585 B
YAML
---
|
|
####################################################################
|
|
# WARNING: These are designed specifically for Ansible tests #
|
|
# and should not be used as examples of how to write Ansible roles #
|
|
####################################################################
|
|
|
|
- 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"
|