tests: Skip service status check on RHEL6

the init system there can not just "check" the status
This commit is contained in:
Jakub Jelen 2021-08-09 08:50:01 +02:00
parent d16170bf31
commit f6d26d8781

View file

@ -52,6 +52,8 @@
register: result register: result
failed_when: result.changed failed_when: result.changed
tags: tests::verify tags: tests::verify
when:
- 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