mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-05-08 06:13:02 +00:00
refactor to comply with current ansible-lint and sanity guidelines
Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
@@ -4,14 +4,16 @@
|
||||
# and should not be used as examples of how to write Ansible roles #
|
||||
####################################################################
|
||||
|
||||
- set_fact:
|
||||
- name: Set pkg_mgr and ansible_pkg_mgr on FreeBSD
|
||||
ansible.builtin.set_fact:
|
||||
pkg_mgr: community.general.pkgng
|
||||
ansible_pkg_mgr: community.general.pkgng
|
||||
cacheable: yes
|
||||
cacheable: true
|
||||
when: ansible_os_family == "FreeBSD"
|
||||
|
||||
- set_fact:
|
||||
- name: Set pkg_mgr and ansible_pkg_mgr on Suse
|
||||
ansible.builtin.set_fact:
|
||||
pkg_mgr: community.general.zypper
|
||||
ansible_pkg_mgr: community.general.zypper
|
||||
cacheable: yes
|
||||
cacheable: true
|
||||
when: ansible_os_family == "Suse"
|
||||
|
||||
Reference in New Issue
Block a user