summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTroy Dawson <tdawson@redhat.com>2016-04-27 11:04:34 -0500
committerTroy Dawson <tdawson@redhat.com>2016-04-27 11:04:34 -0500
commit170eaec84278f45e8e4c997bda7f9d34f387b5bb (patch)
tree96c9baaa401b308c2c502350b751e9b28dd4ed2c
parent287b9527290bb01e88f43ea6a955795edcf24f38 (diff)
downloadopenshift-170eaec84278f45e8e4c997bda7f9d34f387b5bb.tar.gz
openshift-170eaec84278f45e8e4c997bda7f9d34f387b5bb.tar.bz2
openshift-170eaec84278f45e8e4c997bda7f9d34f387b5bb.tar.xz
openshift-170eaec84278f45e8e4c997bda7f9d34f387b5bb.zip
cleanup broken symlinks - lookup_plugins filter_plugins
-rw-r--r--openshift-ansible.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/openshift-ansible.spec b/openshift-ansible.spec
index 7f812c364..84b54528b 100644
--- a/openshift-ansible.spec
+++ b/openshift-ansible.spec
@@ -56,6 +56,10 @@ cp inventory/byo/* docs/example-inventories/
# openshift-ansible-playbooks install
cp -rp playbooks %{buildroot}%{_datadir}/ansible/%{name}/
+# BZ1330091
+find -L %{buildroot}%{_datadir}/ansible/%{name}/playbooks -name lookup_plugins -type l -delete
+find -L %{buildroot}%{_datadir}/ansible/%{name}/playbooks -name filter_plugins -type l -delete
+
# openshift-ansible-roles install
cp -rp roles %{buildroot}%{_datadir}/ansible/%{name}/