Integration tests: replace ansible_xxx with ansible_facts.xxx (#11479)

Replace ansible_xxx with ansible_facts.xxx.
This commit is contained in:
Felix Fontein
2026-02-07 18:18:48 +01:00
committed by GitHub
parent 106817316d
commit 476f2bf641
144 changed files with 548 additions and 578 deletions

View File

@@ -32,7 +32,7 @@
- name: Include tasks to test playing with sparse files
include_tasks: sparse.yml
when:
- not (ansible_os_family == 'Darwin' and ansible_distribution_version is version('11', '<'))
- not (ansible_facts.os_family == 'Darwin' and ansible_facts.distribution_version is version('11', '<'))
- name: Include tasks to test playing with symlinks
include_tasks: symlinks.yml