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 Jun 28, 2021
1 parent 6b710b1 commit 1ae9d7f
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 @@ -116,6 +116,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 1ae9d7f

Please sign in to comment.