Comment 6 for bug 1685194

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ansible-hardening (stable/ocata)

Reviewed: https://review.openstack.org/519487
Committed: https://git.openstack.org/cgit/openstack/ansible-hardening/commit/?id=f4a60c909d5402ce028ef8dab8ff973fa72cf81b
Submitter: Zuul
Branch: stable/ocata

commit f4a60c909d5402ce028ef8dab8ff973fa72cf81b
Author: Jean-Philippe Evrard <email address hidden>
Date: Mon Oct 16 13:04:05 2017 +0000

    Fix logic error

    if security_sshd_permit_root_login is not set to yes, we should
    override this and template a "no", instead of templating a "no"
    when the value is set to yes.

     Conflicts:
     templates/sshd_config_block.j2

    Change-Id: I747a8818762119eee63fa03d175b66ae4021f6da
    Closes-Bug: #1685194
    (cherry picked from commit 2cf232ae627514bccc283ef3f578e422f7bcf745)