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)
Reviewed: https:/ /review. openstack. org/519487 /git.openstack. org/cgit/ openstack/ ansible- hardening/ commit/ ?id=f4a60c909d5 402ce028ef8dab8 ff973fa72cf81b
Committed: https:/
Submitter: Zuul
Branch: stable/ocata
commit f4a60c909d5402c e028ef8dab8ff97 3fa72cf81b
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: sshd_config_ block.j2
templates/
Change-Id: I747a8818762119 eee63fa03d175b6 6ae4021f6da ccc283ef3f578e4 22f7bcf745)
Closes-Bug: #1685194
(cherry picked from commit 2cf232ae627514b