mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-29 14:10:18 +01:00
tests: Skip service status check on RHEL6
the init system there can not just "check" the status
This commit is contained in:
parent
d16170bf31
commit
f6d26d8781
1 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,8 @@
|
|||
register: result
|
||||
failed_when: result.changed
|
||||
tags: tests::verify
|
||||
when:
|
||||
- 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