Publishing an Ansible Job Template as a Service in CloudForms

This is part 4 of our series on Ansible Tower Integration in Red Hat CloudForms.

In the previous article, we have seen how Ansible Job Templates can be launched from a VM button in CloudForms. In this article, we explore how Ansible Job Templates can be published as Catalog Items and made available for end user consumption from a CloudForms Service Catalog.

In this example, we use ec2_elb_lb, an Ansible core module, to demonstrate how we can easily extend the capabilities of CloudForms by re-using automation already provided by Ansible. In particular, we provide the ability to create an Amazon Elastic Load Balancer (ELB) from CloudForms Service Catalog without having to write any Ruby code.

Continue reading “Publishing an Ansible Job Template as a Service in CloudForms”

Launching our First Ansible Job Template on a VM in CloudForms

This is part 3 of our series on Ansible Tower Integration in Red Hat CloudForms.

In this article, we will explore how to use the Ansible Tower integration in CloudForms by configuring the launch of an Ansible Template Job on a click of a button from a VM.

In this example, we use an Ansible Job Template created based on a role found on the Ansible Galaxy role library. In particular, we installed on our Ansible Tower the sfromm.postgresql role dedicated to managing PostgreSQL. Our associated Ansible Playbook is available on GitHub.

Continue reading “Launching our First Ansible Job Template on a VM in CloudForms”

Configuration of an Ansible Tower provider in CloudForms

This is part 2 of our series on Ansible Tower Integration in Red Hat CloudForms.

As mentioned in our previous post, 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.

Like all providers within CloudForms, the Ansible Tower provider is agent-less and only requires connectivity and credentials to the Ansible Tower API.

Continue reading “Configuration of an Ansible Tower provider in CloudForms”

OpenStack Management with CloudForms

Here are my slides from Red Hat Summit, its a repeat of the OpenStack Summit presentation with two important things!

  1. The videos are now all up individually on youtube.
  2. It now includes the Heat/Cloudformations orchestration demonstration.

Here are the slides, the videos can be found in links after each relevant slide. Enjoy!

Continue reading “OpenStack Management with CloudForms”

inspectXML – Dump objects as XML

This is pretty simple but very useful. I have done a little research and whilst inspect is a way of seeing inside of an object its also hard to read and not very re-usable. Being somewhat old now (crazy thought) XML used to be the way we described things. Yes I know yaml, json etc have come to replace XML in languages such as Ruby, but I cannot get away from XML is far easier to read and self describing than the aforementioned.

If you have used InspectME that ships with the product then this is the same but in XML format, with a few advantages…

Continue reading “inspectXML – Dump objects as XML”