mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-22 05:09:12 +00:00
Integration tests: replace ansible_xxx with ansible_facts.xxx (#11479)
Replace ansible_xxx with ansible_facts.xxx.
This commit is contained in:
parent
106817316d
commit
476f2bf641
144 changed files with 548 additions and 578 deletions
|
|
@ -4,7 +4,7 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
- name: Arch-less block
|
||||
when: ansible_distribution not in ['Archlinux']
|
||||
when: ansible_facts.distribution not in ['Archlinux']
|
||||
block:
|
||||
- name: Is the locale we're going to test against installed?
|
||||
command: locale -a
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
- name: Bail out if not supported
|
||||
ansible.builtin.meta: end_play
|
||||
when: ansible_distribution not in ('Ubuntu', 'Debian', 'Archlinux')
|
||||
when: ansible_facts.distribution not in ('Ubuntu', 'Debian', 'Archlinux')
|
||||
|
||||
- name: Run tests auto-detecting mechanism
|
||||
ansible.builtin.include_tasks: basic.yml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue