PermitRootLogin for hosts group

Allow login as root user to hosts.
We currently use root user for all our tasks, this causes the integrated
build to fail, and would cause all deploys to fail too, since ansible
can't log into the hosts as the root user.

Change-Id: I8d34cef23b81e5474b8f2c0e7b7d8bbac3a5dc00
This commit is contained in:
Andy McCrae 2017-11-06 14:35:35 +00:00
parent bbfb9d3339
commit 4c92d37c01

View File

@ -27,3 +27,6 @@ stig_version: rhel7
# Temporarily avoid putting SELinux into enforcing mode on CentOS 7 until some
# additional policy is written. See LP Bug 1657517 for more details.
security_rhel7_enable_linux_security_module: "{{ ansible_os_family == 'RedHat' | ternary(false, true) }}"
# All our ansible tasks run as root user, we need to allow direct root login
security_sshd_permit_root_login: yes