tests: Skip the OS defaults test on CentOS 6 too

The CentOS6/RHEL6 images have modified sshd_config from what is shipped
in rpm package
This commit is contained in:
Jakub Jelen 2021-08-09 09:10:02 +02:00
parent f6d26d8781
commit 9326a46dd8

View file

@ -34,7 +34,8 @@
that: that:
- runtime_before.stdout == runtime_after.stdout - runtime_before.stdout == runtime_after.stdout
when: when:
- not (ansible_facts['distribution'] == 'RedHat' and ansible_facts['distribution_major_version'] == '6') # RHEL6/CentOS6 images have modified sshd_config, different from what is in rpm package
- not (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] == '6')
- name: Restore configuration files - name: Restore configuration files
include_tasks: tasks/restore.yml include_tasks: tasks/restore.yml