We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e122229 commit ae8746cCopy full SHA for ae8746c
molecule/ssh_hardening/prepare.yml
@@ -77,7 +77,9 @@
77
78
- name: Create ssh host keys # noqa ignore-errors
79
ansible.builtin.command: ssh-keygen -A
80
- when: not ((ansible_facts.os_family in ['Oracle Linux', 'RedHat']) and ansible_facts.distribution_major_version < '7')
+ when: not ((ansible_facts.os_family in ['Oracle Linux', 'RedHat'])
81
+ and (ansible_facts.distribution_major_version < '7'
82
+ or ansible_facts.distribution_major_version > '9' ))
83
or ansible_facts.distribution == "Fedora"
84
or ansible_facts.distribution == "Amazon"
85
or ansible_facts.os_family == "Suse"
0 commit comments