OpenShift hosts: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * OpenShift 3.5. Installation") |
No edit summary |
||
Line 2: | Line 2: | ||
* [[OpenShift_3.5_Installation#Configure_Ansible_Inventory_File|OpenShift 3.5. Installation]] | * [[OpenShift_3.5_Installation#Configure_Ansible_Inventory_File|OpenShift 3.5. Installation]] | ||
=Ansible Configuration= | |||
====ansible_become==== | |||
If [[#ansible_ssh_user|ansible_ssh_user]] is not root, ansible_become must be set to true and the user must be configured for passwordless sudo. | |||
====ansible_ssh_user==== | |||
The ssh user used by Ansible to connect to hosts. This user should allow ssh based authentication without requiring a password, and also it should allow passwordless sudo to root. If using ssh key based authentication, then the key should be managed by an ssh agent. Also see [[#ansible_become|ansible_become]]. |
Revision as of 22:30, 9 July 2017
Internal
Ansible Configuration
ansible_become
If ansible_ssh_user is not root, ansible_become must be set to true and the user must be configured for passwordless sudo.
ansible_ssh_user
The ssh user used by Ansible to connect to hosts. This user should allow ssh based authentication without requiring a password, and also it should allow passwordless sudo to root. If using ssh key based authentication, then the key should be managed by an ssh agent. Also see ansible_become.