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.
(cherry picked from commit 704dae2cda
)
pull/49461/head
parent
34be89d8ce
commit
1986e9ed89
@ -1,2 +1,3 @@
|
||||
shippable/posix/group2
|
||||
destructive
|
||||
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