mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Use correct value of ansible_distribution in integration tests
This fixes integration tests when run on a RHEL system. Oddly, the ansible_distribution='RedHat' when run on RHEL.
This commit is contained in:
parent
5a235f9e99
commit
ba9950a73a
2 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@
|
|||
- "install_result.mode == '0755'"
|
||||
|
||||
- include: 'sysv_setup.yml'
|
||||
when: ansible_distribution in ('RHEL', 'CentOS', 'ScientificLinux')
|
||||
when: ansible_distribution in ['Redhat', 'CentOS', 'ScientificLinux']
|
||||
- include: 'systemd_setup.yml'
|
||||
when: ansible_distribution == 'Fedora'
|
||||
- include: 'upstart_setup.yml'
|
||||
|
@ -101,7 +101,7 @@
|
|||
- "remove_result.state == 'absent'"
|
||||
|
||||
- include: 'sysv_cleanup.yml'
|
||||
when: ansible_distribution in ('RHEL', 'CentOS', 'ScientificLinux')
|
||||
when: ansible_distribution in ['Redhat', 'CentOS', 'ScientificLinux']
|
||||
- include: 'systemd_cleanup.yml'
|
||||
when: ansible_distribution == 'Fedora'
|
||||
- include: 'upstart_cleanup.yml'
|
||||
|
|
|
@ -17,5 +17,5 @@
|
|||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
- include: 'yum.yml'
|
||||
when: ansible_distribution in ('RHEL', 'CentOS', 'ScientificLinux', 'Fedora')
|
||||
when: ansible_distribution in ['RedHat', 'CentOS', 'ScientificLinux', 'Fedora']
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue