Bug 1414565

Summary: ceph-ansible: downstream docs incorrectly describes inventory and group_vars usage
Product: Red Hat Ceph Storage Reporter: Andrew Schoen <aschoen>
Component: DocumentationAssignee: Aron Gunn <agunn>
Status: CLOSED CURRENTRELEASE QA Contact: Tejas <tchandra>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.1CC: asriram, hnallurv, kdreyer, nthomas, sankarshan, tchandra
Target Milestone: rc   
Target Release: 2.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-21 23:49:25 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 Andrew Schoen 2017-01-18 20:50:47 UTC
Description of problem:

In our downstream docs we instruct users to use /etc/ansible/hosts as their inventory file, but to configure ceph by defining the appropriate variables in /usr/share/ceph-ansible/group_vars. Correct ansible usage is to always put your group_vars directory and configuration in the same directory as your inventory. If you don't do this ansible can not find the configuration found in your group_vars.

Link to downstream docs: https://access.redhat.com/documentation/en/red-hat-ceph-storage/2/single/installation-guide-for-red-hat-enterprise-linux#installing_red_hat_ceph_storage_using_ansible

Here's a reference to the upstream ansible docs pertaining to this: http://docs.ansible.com/ansible/intro_inventory.html#splitting-out-host-and-group-specific-data

Comment 7 Tejas 2017-02-03 09:38:17 UTC
The doc looks good.
Moving to Verified.