Bug 1462405

Summary: [DOCS] Relative path for collecting ansible openshift facts not correct/complete in prerequisites part of the doc
Product: OpenShift Container Platform Reporter: Nenad Peric <nperic>
Component: DocumentationAssignee: Ashley Hardin <ahardin>
Status: CLOSED CURRENTRELEASE QA Contact: Johnny Liu <jialiu>
Severity: unspecified Docs Contact: Vikram Goyal <vigoyal>
Priority: unspecified    
Version: 3.5.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1575916 (view as bug list) Environment:
Last Closed: 2019-01-21 16:37:05 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1575916    

Description Nenad Peric 2017-06-17 09:15:10 UTC
Document URL: 

https://access.redhat.com/documentation/en-us/openshift_container_platform/3.5/html-single/installation_and_configuration/#install-config-install-prerequisites

Section Number and Name: 

2.2.2.4.2. Overriding Detected IP Addresses and Host Names

Describe the issue: 

Running the suggested command from a random location in the OS (say root's homedir) will fail. The documentation refers to a relative path instead of absolute.

# ansible-playbook -i inventory playbooks/byo/openshift_facts.yml
ERROR! the playbook: playbooks/byo/openshift_facts.yml could not be found


Suggestions for improvement: 

The command should be changed to:

# ansible-playbook /usr/share/ansible/openshift-ansible/playbooks/byo/openshift_facts.yml

Additional information:

Comment 1 Ashley Hardin 2019-01-21 16:37:05 UTC
Since this BZ was filed, this section was updated. In the Overriding Detected IP Addresses and Host Names section of https://access.redhat.com/documentation/en-us/openshift_container_platform/3.5/html-single/installation_and_configuration/#envirornment-requirements, the command is now # ansible-playbook playbooks/byo/openshift_facts.yml.

Closing this, but please let me know if this needs reopened.