Browse Source

cleanup broken symlinks - lookup_plugins filter_plugins

Troy Dawson 9 years ago
parent
commit
170eaec842
1 changed files with 4 additions and 0 deletions
  1. 4 0
      openshift-ansible.spec

+ 4 - 0
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}/