<?xml version="1.0" encoding="UTF-8" standalone="yes"?><oembed><version><![CDATA[1.0]]></version><provider_name><![CDATA[CloudForms Now]]></provider_name><provider_url><![CDATA[http://cloudformsblog.redhat.com]]></provider_url><author_name><![CDATA[Jerome Marc]]></author_name><author_url><![CDATA[https://cloudformsblog.redhat.com/author/jeromemarc/]]></author_url><title><![CDATA[Configuration of an Ansible Tower provider in&nbsp;CloudForms]]></title><type><![CDATA[link]]></type><html><![CDATA[<p>This is part 2 of our series on <a href="http://cloudformsblog.redhat.com/2016/07/22/ansible-tower-in-cloudforms/">Ansible Tower Integration in Red Hat CloudForms</a>.</p>
<p>As mentioned in<a href="http://cloudformsblog.redhat.com/2016/07/22/ansible-tower-in-cloudforms/"> our previous post</a>, CloudForms 4.1 brings native integration capabilities with Ansible Tower. This post explores the Ansible Tower requirements as well as the configuration of the provider in CloudForms.</p>
<p>Like all providers within CloudForms, the Ansible Tower provider is agent-less and only requires connectivity and credentials to the Ansible Tower API.<!--more--></p>
<p>The initial configuration of the provider is performed by selecting ‘Add a new Provider’ under ‘Configuration &gt; Configuration Management &gt; Configuration’.</p>
<p>&nbsp;</p>
<p><img data-attachment-id="1084" data-permalink="https://cloudformsblog.redhat.com/2016/07/22/ansible-tower-in-cloudforms/image14/" data-orig-file="https://cloudformsredhat.files.wordpress.com/2016/07/image14.png?w=928&#038;h=497" data-orig-size="928,497" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image14" data-image-description="" data-medium-file="https://cloudformsredhat.files.wordpress.com/2016/07/image14.png?w=928&#038;h=497?w=300" data-large-file="https://cloudformsredhat.files.wordpress.com/2016/07/image14.png?w=928&#038;h=497?w=928" class="aligncenter wp-image-1084 size-full" style="border:1px solid #000000;" src="https://cloudformsredhat.files.wordpress.com/2016/07/image14.png?w=928&#038;h=497" alt="image14" width="928" height="497" srcset="https://cloudformsredhat.files.wordpress.com/2016/07/image14.png 928w, https://cloudformsredhat.files.wordpress.com/2016/07/image14.png?w=150&amp;h=80 150w, https://cloudformsredhat.files.wordpress.com/2016/07/image14.png?w=300&amp;h=161 300w, https://cloudformsredhat.files.wordpress.com/2016/07/image14.png?w=768&amp;h=411 768w" sizes="(max-width: 928px) 100vw, 928px" /></p>
<p>&nbsp;</p>
<p>Once the credential details are filled-in and validated, add the provider and trigger a provider update by selecting &#8216;Refresh Relationship and Power States&#8217; under the new provider&#8217;s &#8216;Configuration&#8217; button. CloudForms queries the Ansible Tower API and obtains an inventory of all hosts and Job Templates available.</p>
<p>All discovered hosts are accessible by expanding the inventory groups under the newly created Ansible Tower provider.</p>
<p><img data-attachment-id="1096" data-permalink="https://cloudformsblog.redhat.com/2016/07/22/ansible-tower-in-cloudforms/image26/" data-orig-file="https://cloudformsredhat.files.wordpress.com/2016/07/image26.png?w=328&#038;h=175" data-orig-size="328,175" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Ansible Tower Provider" data-image-description="" data-medium-file="https://cloudformsredhat.files.wordpress.com/2016/07/image26.png?w=328&#038;h=175?w=300" data-large-file="https://cloudformsredhat.files.wordpress.com/2016/07/image26.png?w=328&#038;h=175?w=328" class="aligncenter wp-image-1096 size-full" style="border:1px solid #000000;" src="https://cloudformsredhat.files.wordpress.com/2016/07/image26.png?w=328&#038;h=175" alt="Ansible Tower Provider" width="328" height="175" srcset="https://cloudformsredhat.files.wordpress.com/2016/07/image26.png 328w, https://cloudformsredhat.files.wordpress.com/2016/07/image26.png?w=150&amp;h=80 150w, https://cloudformsredhat.files.wordpress.com/2016/07/image26.png?w=300&amp;h=160 300w" sizes="(max-width: 328px) 100vw, 328px" /></p>
<p>&nbsp;</p>
<p>Similarly, all discovered Job Templates are accessed under the provider by expanding the &#8216;Ansible Tower Job Templates&#8217; accordion menu.</p>
<p><img data-attachment-id="1112" data-permalink="https://cloudformsblog.redhat.com/2016/07/22/ansible-tower-in-cloudforms/image42/" data-orig-file="https://cloudformsredhat.files.wordpress.com/2016/07/image42.png?w=310&#038;h=173" data-orig-size="310,173" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Ansible Tower Job Templates" data-image-description="" data-medium-file="https://cloudformsredhat.files.wordpress.com/2016/07/image42.png?w=310&#038;h=173?w=300" data-large-file="https://cloudformsredhat.files.wordpress.com/2016/07/image42.png?w=310&#038;h=173?w=310" class="aligncenter wp-image-1112 size-full" style="border:1px solid #000000;" src="https://cloudformsredhat.files.wordpress.com/2016/07/image42.png?w=310&#038;h=173" alt="Ansible Tower Job Templates" width="310" height="173" srcset="https://cloudformsredhat.files.wordpress.com/2016/07/image42.png 310w, https://cloudformsredhat.files.wordpress.com/2016/07/image42.png?w=150&amp;h=84 150w, https://cloudformsredhat.files.wordpress.com/2016/07/image42.png?w=300&amp;h=167 300w" sizes="(max-width: 310px) 100vw, 310px" /></p>
<p>&nbsp;</p>
<p>Job Template details are visible from within CloudForms. This includes any extra variables or surveys set on the Job Template.</p>
<p>&nbsp;</p>
<p><img data-attachment-id="1100" data-permalink="https://cloudformsblog.redhat.com/2016/07/22/ansible-tower-in-cloudforms/image30/" data-orig-file="https://cloudformsredhat.files.wordpress.com/2016/07/image30.png?w=848&#038;h=471" data-orig-size="848,471" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image30" data-image-description="" data-medium-file="https://cloudformsredhat.files.wordpress.com/2016/07/image30.png?w=848&#038;h=471?w=300" data-large-file="https://cloudformsredhat.files.wordpress.com/2016/07/image30.png?w=848&#038;h=471?w=848" class="aligncenter wp-image-1100 size-full" style="border:1px solid #000000;" src="https://cloudformsredhat.files.wordpress.com/2016/07/image30.png?w=848&#038;h=471" alt="image30" width="848" height="471" srcset="https://cloudformsredhat.files.wordpress.com/2016/07/image30.png 848w, https://cloudformsredhat.files.wordpress.com/2016/07/image30.png?w=150&amp;h=83 150w, https://cloudformsredhat.files.wordpress.com/2016/07/image30.png?w=300&amp;h=167 300w, https://cloudformsredhat.files.wordpress.com/2016/07/image30.png?w=768&amp;h=427 768w" sizes="(max-width: 848px) 100vw, 848px" /><br />
In this article we configured a new Ansible Tower provider in CloudForms. This provides CloudForms with visibility into the Ansible Tower inventory, including hosts and job templates. In following posts, we will explore how to launch a Job Template from within CloudForms as a button on a VM, as a Service Item in the Service Catalog, or as part of CloudForms Automation.</p>
]]></html><thumbnail_url><![CDATA[https://cloudformsredhat.files.wordpress.com/2016/07/image14.png?fit=440%2C330]]></thumbnail_url><thumbnail_width><![CDATA[440]]></thumbnail_width><thumbnail_height><![CDATA[236]]></thumbnail_height></oembed>