summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-02-24 14:20:50 +0100
committerJan Chaloupka <jchaloup@redhat.com>2017-02-24 14:20:52 +0100
commitcacd32f968281961bdf1682cff18f75c1c7c0765 (patch)
tree254a5cc52073abfb207fd5edb3920b1f1c0130a1
parent95cc57acdb945ec7c8ddc06f0b0ad390e5e5d3a9 (diff)
downloadopenshift-cacd32f968281961bdf1682cff18f75c1c7c0765.tar.gz
openshift-cacd32f968281961bdf1682cff18f75c1c7c0765.tar.bz2
openshift-cacd32f968281961bdf1682cff18f75c1c7c0765.tar.xz
openshift-cacd32f968281961bdf1682cff18f75c1c7c0765.zip
Fix symlink to lookup_plugins/oo_option.py
Bug 1426030
-rw-r--r--openshift-ansible.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/openshift-ansible.spec b/openshift-ansible.spec
index c03d4eb8f..68eb9ebbb 100644
--- a/openshift-ansible.spec
+++ b/openshift-ansible.spec
@@ -77,6 +77,10 @@ cp -rp roles %{buildroot}%{_datadir}/ansible/%{name}/
pushd %{buildroot}%{_datadir}/ansible/%{name}/roles/openshift_master_facts/filter_plugins
ln -sf ../../../../../ansible_plugins/filter_plugins/oo_filters.py oo_filters.py
popd
+# openshift_master_facts symlinks lookup_plugins/oo_option.py from ansible_plugins/lookup_plugins
+pushd %{buildroot}%{_datadir}/ansible/%{name}/roles/openshift_master_facts/lookup_plugins
+ln -sf ../../../../../ansible_plugins/lookup_plugins/oo_option.py oo_option.py
+popd
# openshift-ansible-filter-plugins install
cp -rp filter_plugins %{buildroot}%{_datadir}/ansible_plugins/