mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-25 20:40:18 +01:00
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:
parent
f6d26d8781
commit
9326a46dd8
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,8 @@
|
|||
that:
|
||||
- runtime_before.stdout == runtime_after.stdout
|
||||
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
|
||||
include_tasks: tasks/restore.yml
|
||||
|
|
Loading…
Reference in a new issue