Red Hat Bugzilla – Bug 1468717
Template changes required for provisioning callback configuration between Ansible Tower and Satellite should be in place
Last modified: 2017-09-15 11:10:56 EDT
Description of problem:
Recently, I was testing Ansible Tower Integration feature w/ Satellite6.3. while testing I found that there are few changes needs to be done in "satellite Kickstart Default" template.
<% if @host.params['ansible_enabled'] == 'true' %>
cat > /etc/systemd/system/ansible-callback.service << EOF
<%= snippet 'ansible_callback_service' %>EOF
# Runs during first boot, removes itself
/usr/bin/systemctl enable ansible-callback <% end -%>
and we need to add a snippet 'ansible_callback_service' manually. I strongly feel that we should have similar snippet readily available w/ the satellite6.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Test provisioning callback w/ Ansible tower and satellite6
templates changes are required
No manual changes needs to be done.
Please note that pointed changes bz description is using systemd. so this is only applicable for rhel7 hosts. We need changes for rhel6 too.
This was merged upstream,
https://github.com/theforeman/community-templates/commit/6a185ddc23fe120b02672426f94a4f8063305ed3, however without changes for RHEL6 yet.
For 1.15.4 I hope the EL6 changes are in community-templates and can trickle down downstream.