Bug 1301115

Summary: [SME] Include ansible_sudo in the default hosts file for ansible
Product: OpenShift Container Platform Reporter: Peter Larsen <plarsen>
Component: DocumentationAssignee: Vikram Goyal <vigoyal>
Status: CLOSED CURRENTRELEASE QA Contact: Vikram Goyal <vigoyal>
Severity: unspecified Docs Contact: Vikram Goyal <vigoyal>
Priority: unspecified    
Version: 3.1.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-29 03:59:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Peter Larsen 2016-01-22 16:00:27 UTC
Document URL: https://docs.openshift.com/enterprise/3.1/install_config/install/advanced_install.html

Section Number and Name: https://docs.openshift.com/enterprise/3.1/install_config/install/advanced_install.html#multiple-masters

Describe the issue: 
The samples does not include ansible_sudo in the sample file, but it does include "ansible_ssh_user". As mentioned in the Cluster Variables section, ansible_sudo is required if you change the user name. 

Suggestions for improvement: 
The variable should be in the sample configuration with a comment to change it to true if changing the user.

Additional information: 

Suggest having the default hosts files available on the install under /usr/share/openshift somewhere. Having a section that documents how to get started with a sample/default file would also be helpful.

Comment 1 Vikram Goyal 2017-12-29 03:59:41 UTC
This was changed here (in the example): https://docs.openshift.com/enterprise/3.1/install_config/install/advanced_install.html#single-master

Closing this bug.