Browse Source

Leave an empty contiv role directory

Scott Dodson 8 years ago
parent
commit
e3750b9c6d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      openshift-ansible.spec

+ 1 - 1
openshift-ansible.spec

@@ -76,7 +76,7 @@ find -L %{buildroot}%{_datadir}/ansible/%{name}/playbooks -name filter_plugins -
 # openshift-ansible-roles install
 cp -rp roles %{buildroot}%{_datadir}/ansible/%{name}/
 # remove contiv role
-rm -rf %{buildroot}%{_datadir}/ansible/%{name}/roles/contiv
+rm -rf %{buildroot}%{_datadir}/ansible/%{name}/roles/contiv/*
 # openshift_master_facts symlinks filter_plugins/oo_filters.py from ansible_plugins/filter_plugins
 pushd %{buildroot}%{_datadir}/ansible/%{name}/roles/openshift_master_facts/filter_plugins
 ln -sf ../../../../../ansible_plugins/filter_plugins/oo_filters.py oo_filters.py