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
|
|
@ -14,9 +14,9 @@
|
|||
# TODO: remove Ubuntu 24.04 (noble) from the list
|
||||
# TODO: remove Debian 13 (Trixie) from the list
|
||||
when: >
|
||||
ansible_distribution in ('Alpine', 'openSUSE Leap', 'CentOS', 'Fedora', 'Archlinux')
|
||||
or (ansible_distribution == 'Ubuntu' and ansible_distribution_release in ['noble'])
|
||||
or (ansible_distribution == 'Debian' and ansible_distribution_major_version == '13')
|
||||
ansible_facts.distribution in ('Alpine', 'openSUSE Leap', 'CentOS', 'Fedora', 'Archlinux')
|
||||
or (ansible_facts.distribution == 'Ubuntu' and ansible_facts.distribution_release in ['noble'])
|
||||
or (ansible_facts.distribution == 'Debian' and ansible_facts.distribution_major_version == '13')
|
||||
|
||||
- name: Remove ejabberd
|
||||
ansible.builtin.package:
|
||||
|
|
@ -47,12 +47,12 @@
|
|||
loop:
|
||||
- PrivateDevices
|
||||
- AmbientCapabilities
|
||||
when: ansible_distribution == 'Archlinux'
|
||||
when: ansible_facts.distribution == 'Archlinux'
|
||||
|
||||
- name: Make installable on Arch
|
||||
systemd:
|
||||
daemon_reload: true
|
||||
when: ansible_distribution == 'Archlinux'
|
||||
when: ansible_facts.distribution == 'Archlinux'
|
||||
|
||||
- ansible.builtin.service:
|
||||
name: ejabberd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue