mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
run correct init system tests
This commit is contained in:
parent
fed7cea795
commit
d6dfd9f502
1 changed files with 2 additions and 2 deletions
|
@ -11,9 +11,9 @@
|
|||
- "install_result.mode == '0755'"
|
||||
|
||||
- include: 'sysv_setup.yml'
|
||||
when: ansible_distribution in ['RedHat', 'CentOS', 'ScientificLinux']
|
||||
when: ansible_distribution in ['Fedora', 'RedHat', 'CentOS', 'ScientificLinux'] and (ansible_distribution_version|version_compare('6', '>=') and ansible_distribution_version|version_compare('7', '<'))
|
||||
- include: 'systemd_setup.yml'
|
||||
when: ansible_distribution == 'Fedora'
|
||||
when: ansible_distribution in ['Fedora', 'RedHat', 'CentOS', 'ScientificLinux'] and (ansible_distribution_version|version_compare('7', '>=') and ansible_distribution_version|version_compare('8', '<'))
|
||||
- include: 'upstart_setup.yml'
|
||||
when: ansible_distribution == 'Ubuntu'
|
||||
|
||||
|
|
Loading…
Reference in a new issue