mirror of
https://github.com/willshersystems/ansible-sshd
synced 2025-01-11 01:30:18 +01:00
tests: Skip the negative test in RHEL6 entirely
This commit is contained in:
parent
a2646b7551
commit
d16170bf31
1 changed files with 3 additions and 3 deletions
|
@ -32,9 +32,9 @@
|
|||
- ansible_failed_result.msg != 'UNREACH'
|
||||
- not role_result.changed
|
||||
msg: "Role has not failed when it should have"
|
||||
when:
|
||||
- ansible_facts['os_family'] != 'Debian'
|
||||
- not (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] == '6')
|
||||
when:
|
||||
- ansible_facts['os_family'] != 'Debian'
|
||||
- not (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] == '6')
|
||||
tags: tests::verify
|
||||
|
||||
- name: Make sure the key was not created
|
||||
|
|
Loading…
Reference in a new issue