Skip to content

Commit

Permalink
put our ansible roles in standard location
Browse files Browse the repository at this point in the history
the share directory is the standard location for installing ansible playbooks
this puts our playbooks into that location so they can be picked up
without the need to modify the load path
  • Loading branch information
kbrock committed Aug 18, 2021
1 parent 1dca31f commit 32d278c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rpm_spec/manageiq.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32d278c

Please sign in to comment.