mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-06-09 18:15:54 +00:00
Enable firewalld tests
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
17
tests/integration/targets/setup_pkg_mgr/tasks/main.yml
Normal file
17
tests/integration/targets/setup_pkg_mgr/tasks/main.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
####################################################################
|
||||
# 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"
|
||||
Reference in New Issue
Block a user