Use ansible_facts.xxx instead of ansible_xxx. (#980)

This commit is contained in:
Felix Fontein
2026-02-07 16:12:21 +01:00
committed by GitHub
parent e91f8ec520
commit b5a9a41913
23 changed files with 57 additions and 57 deletions

View File

@@ -12,10 +12,10 @@
pkg_mgr: community.general.pkgng
ansible_pkg_mgr: community.general.pkgng
cacheable: true
when: ansible_os_family == 'FreeBSD'
when: ansible_facts.os_family == 'FreeBSD'
- ansible.builtin.set_fact:
pkg_mgr: community.general.zypper
ansible_pkg_mgr: community.general.zypper
cacheable: true
when: ansible_os_family == 'Suse'
when: ansible_facts.os_family == 'Suse'