diff --git a/tests/tests_hostkeys_missing.yml b/tests/tests_hostkeys_missing.yml index e4cee9f..94375dd 100644 --- a/tests/tests_hostkeys_missing.yml +++ b/tests/tests_hostkeys_missing.yml @@ -34,7 +34,7 @@ msg: "Role has not failed when it should have" when: - ansible_facts['os_family'] != 'Debian' - - not (ansible_facts['distribution'] == 'RedHat' and ansible_facts['distribution_major_version'] == '6') + - not (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] == '6') tags: tests::verify - name: Make sure the key was not created