Bug 1328843

Summary: [DOCS] Configuring Host Variables via openshift-ansible
Product: OpenShift Container Platform Reporter: Miheer Salunke <misalunk>
Component: DocumentationAssignee: Ashley Hardin <ahardin>
Status: CLOSED CURRENTRELEASE QA Contact: Ma xiaoqiang <xiama>
Severity: medium Docs Contact: Vikram Goyal <vigoyal>
Priority: medium    
Version: 3.1.0CC: aos-bugs, jokerman, mmccomas, steven, vigoyal, xtian
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: 2016-06-10 21:30:57 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 Miheer Salunke 2016-04-20 12:10:22 UTC
Document URL: https://docs.openshift.com/enterprise/3.1/install_config/install/advanced_install.html#configuring-host-variables

Section Number and Name: Configuring Host Variables

Describe the issue: 

There is no documentation regarding the Ansible variables that can be used (in each openshift-ansible version)?  
At the moment it is very difficult to figure out which options/variables are available and which not.

So eg- for the latest version of openshift-ansible package, will all the vars mentioned in [0] it work ? Or only the ones mentioned 

in [1] are supported ?

 
[0]- 
https://github.com/openshift/openshift-ansible/blob/master/inventory/byo/hosts.ose.example

[1]-https://docs.openshift.com/enterprise/3.1/install_config/install/advanced_install.html

Suggestions for improvement: mentioned in the description

Additional information:

Comment 1 Ashley Hardin 2016-05-23 21:44:07 UTC
Work in progress: https://github.com/openshift/openshift-docs/pull/2142

Comment 3 Vikram Goyal 2016-05-26 20:29:32 UTC
Looks good Ashley. I have commented in the PR as well.

Comment 4 Ma xiaoqiang 2016-05-30 07:37:25 UTC
All options in the [0] are supported. 

Issue 1:
docker_log_options has been change to openshift_docker_log_options/cli_docker_log_options

Issue 2:
openshift_router_selector has been change to openshift_hosted_router_selector

Comment 5 Ashley Hardin 2016-05-31 15:05:47 UTC
@Ma
Resolution to Issue 1:
docker_log_options was updated with work in this recently closed BZ:
https://bugzilla.redhat.com/show_bug.cgi?id=1337428

Resolution to Issue 2:
I changed openshift_router_selector to openshift_hosted_router_selector:
https://github.com/openshift/openshift-docs/pull/2142

The OpenShift documentation team will work with the SME developers to add more supported options to the documentation. However, that work will take some time. The SME developers agreed to open new bugs and work with us when new options are available to be documented.

Comment 6 Ma xiaoqiang 2016-06-01 00:16:42 UTC
The option 'openshift_docker_disable_push_dockerhub' is not supported for now
https://bugzilla.redhat.com/show_bug.cgi?id=1340723

After the PR is merged, QE will move this issue to VERIFIED.

Comment 7 openshift-github-bot 2016-06-06 15:41:38 UTC
Commits pushed to master at https://github.com/openshift/openshift-docs

https://github.com/openshift/openshift-docs/commit/698542f6a29346109cb77e5fa963e0df2cdfdb4c
Bug 1328843, added missing host variables

https://github.com/openshift/openshift-docs/commit/92384b2dd9df129bdbfcc97da645f9b02099edc6
Merge pull request #2142 from ahardin-rh/openshift-ansible

Bug 1328843, added missing host variables

Comment 8 Ashley Hardin 2016-06-06 15:42:38 UTC
Removed *openshift_docker_disable_push_dockerhub* for now. We will add it back in once it's functioning.