mirror of https://github.com/ansible/ansible.git
Fix lookup_passwordstore test skipping. (#49178)
* Fix lookup_passwordstore test skipping. Skip all of RHEL instead of specific versions. Skip all of CentOS < 7 instead of specific versions. This makes the test more robust when testing newer versions. Tests could be executed on RHEL if EPEL was installed during the test.pull/49179/head
parent
0b5b5e69d8
commit
704dae2cda
@ -1,3 +1,3 @@
|
||||
shippable/posix/group2
|
||||
destructive
|
||||
skip/rhel8.0
|
||||
skip/rhel
|
||||
|
@ -1,4 +1,6 @@
|
||||
- include: "package.yml"
|
||||
when: "ansible_distribution_version not in passwordstore_skip_os.get(ansible_distribution, [])"
|
||||
- include: "tests.yml"
|
||||
when: "ansible_distribution_version not in passwordstore_skip_os.get(ansible_distribution, [])"
|
||||
- block:
|
||||
- include: "package.yml"
|
||||
- include: "tests.yml"
|
||||
when:
|
||||
- not (ansible_distribution == 'RedHat') # requires EPEL
|
||||
- not (ansible_distribution == 'CentOS' and ansible_distribution_version is version_compare('7', '<'))
|
||||
|
Loading…
Reference in New Issue