mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Integration tests: replace ansible_xxx with ansible_facts.xxx (#11479)
Replace ansible_xxx with ansible_facts.xxx.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
- name: Install EPEL
|
||||
yum:
|
||||
name: https://s3.amazonaws.com/ansible-ci-files/test/integration/targets/setup_epel/epel-release-latest-{{ ansible_distribution_major_version }}.noarch.rpm
|
||||
name: https://s3.amazonaws.com/ansible-ci-files/test/integration/targets/setup_epel/epel-release-latest-{{ ansible_facts.distribution_major_version }}.noarch.rpm
|
||||
disable_gpg_check: true
|
||||
when:
|
||||
- ansible_facts.distribution in ['RedHat', 'CentOS']
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
- name: Install EPEL
|
||||
yum:
|
||||
name: https://ci-files.testing.ansible.com/test/integration/targets/setup_epel/epel-release-latest-{{ ansible_distribution_major_version }}.noarch.rpm
|
||||
name: https://ci-files.testing.ansible.com/test/integration/targets/setup_epel/epel-release-latest-{{ ansible_facts.distribution_major_version }}.noarch.rpm
|
||||
disable_gpg_check: true
|
||||
when:
|
||||
- ansible_facts.distribution in ['RedHat', 'CentOS']
|
||||
|
||||
Reference in New Issue
Block a user