diff --git a/tests/tests_hostkeys_missing.yml b/tests/tests_hostkeys_missing.yml index 0acfce7..ad739a4 100644 --- a/tests/tests_hostkeys_missing.yml +++ b/tests/tests_hostkeys_missing.yml @@ -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