summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-04-19 13:28:38 -0400
committerBrenton Leanhardt <bleanhar@redhat.com>2016-04-19 13:28:38 -0400
commit1f490c2374038669df3d2bfcb01af54361f8907e (patch)
tree228ea818a2a0b4342b9b1e5d66d1d4249fa32298
parent5d78cb3a4eddc19d8d3f53bda44af61f80d20848 (diff)
parent02706c54764ea93f9b3c1e82dbc9c289224d78c5 (diff)
downloadopenshift-1f490c2374038669df3d2bfcb01af54361f8907e.tar.gz
openshift-1f490c2374038669df3d2bfcb01af54361f8907e.tar.bz2
openshift-1f490c2374038669df3d2bfcb01af54361f8907e.tar.xz
openshift-1f490c2374038669df3d2bfcb01af54361f8907e.zip
Merge pull request #1771 from sdodson/add-inventories
Add inventories to docs subpackage
-rw-r--r--openshift-ansible.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/openshift-ansible.spec b/openshift-ansible.spec
index 98d85ddd9..9440cc185 100644
--- a/openshift-ansible.spec
+++ b/openshift-ansible.spec
@@ -15,6 +15,7 @@ BuildArch: noarch
Requires: ansible >= 1.9.4
Requires: python2
+Requires: openshift-ansible-docs = %{version}-%{release}
%description
Openshift and Atomic Enterprise Ansible
@@ -56,7 +57,9 @@ ln -sf %{_datadir}/ansible/inventory/aws %{buildroot}%{python_sitelib}/openshift
ln -sf %{_datadir}/ansible/inventory/gce %{buildroot}%{python_sitelib}/openshift_ansible/gce
# openshift-ansible-docs install
-# -docs are currently just %doc, no install needed
+# Install example inventory into docs/examples
+mkdir -p docs/example-inventories
+cp inventory/byo/* docs/example-inventories/
# openshift-ansible-inventory install
mkdir -p %{buildroot}/etc/ansible