Skip to content

Commit

Permalink
PermitRootLogin for hosts group
Browse files Browse the repository at this point in the history
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
(cherry picked from commit 4c92d37)
  • Loading branch information
andymcc authored and Markos Chandras committed Nov 8, 2017
1 parent 1833440 commit b5c2d94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions group_vars/hosts.yml
Expand Up @@ -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

0 comments on commit b5c2d94

Please sign in to comment.