Bug 1468717 - Template changes required for provisioning callback configuration between Ansible Tower and Satellite should be in place
Template changes required for provisioning callback configuration between Ans...
Status: NEW
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Provisioning Templates (Show other bugs)
Unspecified Unspecified
unspecified Severity high (vote)
: Beta
: --
Assigned To: satellite6-bugs
: Triaged
Depends On:
  Show dependency treegraph
Reported: 2017-07-07 13:34 EDT by Sachin Ghai
Modified: 2017-09-15 11:10 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Sachin Ghai 2017-07-07 13:34:30 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):
sat6.3 snap5

How reproducible:

Steps to Reproduce:
1. Test provisioning callback w/ Ansible tower and satellite6

Actual results:
templates changes are required

Expected results:
No manual changes needs to be done.

Additional info:
Comment 3 Sachin Ghai 2017-07-07 13:44:01 EDT
Please note that pointed changes bz description is using systemd. so this is only applicable for rhel7 hosts. We need changes for rhel6 too.
Comment 4 Daniel Lobato Garcia 2017-08-10 11:28:05 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.