summaryrefslogtreecommitdiffstats
path: root/openshift-ansible.spec
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-04-19 10:48:17 -0400
committerScott Dodson <sdodson@redhat.com>2016-04-19 10:56:38 -0400
commit02706c54764ea93f9b3c1e82dbc9c289224d78c5 (patch)
tree87c92ccd9e202a37fe413d09568db03a305b32b6 /openshift-ansible.spec
parent1bb3de7855096557a820845cef9efe4702093675 (diff)
downloadopenshift-02706c54764ea93f9b3c1e82dbc9c289224d78c5.tar.gz
openshift-02706c54764ea93f9b3c1e82dbc9c289224d78c5.tar.bz2
openshift-02706c54764ea93f9b3c1e82dbc9c289224d78c5.tar.xz
openshift-02706c54764ea93f9b3c1e82dbc9c289224d78c5.zip
Add example inventories to docs, install docs by default
Diffstat (limited to 'openshift-ansible.spec')
-rw-r--r--openshift-ansible.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/openshift-ansible.spec b/openshift-ansible.spec
index 4ac4da87c..7c6997d7c 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