diff --git a/rpm_spec/manageiq.spec.in b/rpm_spec/manageiq.spec.in index 697bb99c..c8e54468 100644 --- a/rpm_spec/manageiq.spec.in +++ b/rpm_spec/manageiq.spec.in @@ -123,6 +123,11 @@ pushd ./%{appliance_builddir}/LINK/etc done popd +%{__mkdir} -p %{buildroot}/usr/share/ansible/roles +for i in %{buildroot}%{app_root}/content/ansible_consolidated/roles/* ; do + ln -s $i %{buildroot}/usr/share/ansible/roles/ +done + %{__mkdir} -p %{buildroot}/root pushd ./%{appliance_builddir}/LINK/root ln -s %{appliance_root}/LINK/root/.ansible.cfg %{buildroot}/root/.ansible.cfg