tests: Skip the negative test in RHEL6 entirely

This commit is contained in:
Jakub Jelen 2021-08-06 22:10:57 +02:00
parent a2646b7551
commit d16170bf31

View file

@ -32,9 +32,9 @@
- ansible_failed_result.msg != 'UNREACH' - ansible_failed_result.msg != 'UNREACH'
- not role_result.changed - not role_result.changed
msg: "Role has not failed when it should have" msg: "Role has not failed when it should have"
when: when:
- ansible_facts['os_family'] != 'Debian' - ansible_facts['os_family'] != 'Debian'
- not (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] == '6') - not (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] == '6')
tags: tests::verify tags: tests::verify
- name: Make sure the key was not created - name: Make sure the key was not created