Fix permitrootlogin condition

This commit is contained in:
Alexis Ben Miloud--Josselin 2023-07-21 12:58:08 +02:00
parent fbb0b73e3a
commit 4a0d3a4965

View file

@ -92,6 +92,6 @@
when: when:
- evolinux_root_disable_ssh | bool - evolinux_root_disable_ssh | bool
- ansible_distribution_major_version is version('12', '>=') - ansible_distribution_major_version is version('12', '>=')
- grep_permitrootlogin_ssh.rc != 1 - grep_permitrootlogin_ssh.rc == 1
- ansible.builtin.meta: flush_handlers - ansible.builtin.meta: flush_handlers