This blog post concludes our series on Ansible Automation inside Red Hat CloudForms. We hope that the content and demo videos were able to get you a grasp on how Ansible Automation, the leading simple, powerful, and agentless open source IT automation framework, adds value to Red Hat CloudForms and extends its capabilities.
Red Hat CloudForms natively supports Ansible Automation and eases the deployment of infrastructure and IT services across clouds. Users can automate multi-cloud management by defining a wide range of policies and processes with no coding or scripting required.
Continue reading “Ansible Automation inside Red Hat CloudForms (Summary)”
Debugging might not be one of your favorite things to do, but when your automation fails it is good to know where to look to find information and troubleshoot. In this blog post, we investigate how to make sure Ansible Automation is correctly configured inside CloudForms, and how to troubleshoot issues that might occur when running Ansible Automation. Content for this blog post is based on the knowledge base article published on Red Hat Customer Portal.
Continue reading “Debugging Ansible Automation inside Red Hat CloudForms”
Service catalog bundles are a really useful CloudForms feature that enable us to mix and match various existing service catalog items together to form bundles of tasks.
One of the more useful examples of a bundle is to create a new VM, and then run an Ansible Tower job template on the resulting VM to configure it with an application role. If we have an Ansible Tower server added to our CloudForms installation as an automation provider, this is quite simple. We described the procedure to configure an Ansible Tower provider in CloudForms as part of our previous series on Ansible Tower integration in CloudForms 4.1.
Continue reading “CloudForms Service Bundle creation using VM Provisioning and Ansible Tower automation job”
In this article, we continue the Ansible Series with a new video that shows how we can execute an Ansible playbook from the CloudForms REST API.
In this video, we are using Postman which is a REST API testing framework. Of course you can use any tool you are comfortable with e.g. CURL, Ruby, Python or anything that can execute REST API calls.
Continue reading “Launch Ansible Playbooks from CloudForms REST API (Video)”
With this short video, we continue our series based on Red Hat Knowledge Base articles exploring how to take advantage of Ansible Automation inside Red Hat CloudForms. This post is a follow-up of our previous My First Ansible Service article.
As a summary, what we do in this video is to create a control policy that checks if the VM CPU or memory size has changed, and if so, resets the size to 1 CPU and 1GB automatically.
Continue reading “My First Ansible Control Action (Video)”
This article seeks to explain the use of State Machines in Red Hat CloudForms for the use in the flow control of automation.
The topic of State Machines is sometimes perceived as rocket science, barely used but often taught. The first thing to dispel is the complexity in state machines, then we can compare how a state machine differs from other process automation like Workflows.
Finally the article is to dispel the myth that State Machines are RUBY or if you use Ansible Automation Inside you do not need state machines, again not a true statement.
Continue reading “Review and Future Directions of CloudForms State-Machines”
With this short video, we start a series based on Red Hat Knowledge Base articles exploring how to take advantage of Ansible automation inside Red Hat CloudForms.
In this first video we show:
- How to enable Embedded Ansible in CloudForms
- Set up a new Ansible GitHub repository
- Create a new Service Catalog and Service Item
- Provision and retire the new Service
Continue reading “My First Ansible Service (Video)”
Today marks the general availability of Red Hat CloudForms 4.5, as announced in the recent Press Release. One of the key highlights of the release is the introduction of Ansible Automation Inside, which provides a simple, powerful, human readable automation language, directly accessible from within CloudForms.
In addition, several enhancements are added to the multi-cloud management platform, including a new storage provider for Amazon Web Services, metrics and container improvements for OpenShift, and additional features for OpenStack. Let’s take a look at some of these improvements.
Continue reading “Announcing General Availability of Red Hat CloudForms 4.5”
CloudForms 4.5 marks a huge new direction for Cloud Management and Automation, in that CloudForms can now run an Ansible Playbook natively as a Service, Control Action or Control Alert. We also have some other ways like Custom Buttons and REST API.
Continue reading “Ansible Automation Inside CloudForms”
This is part 5, the last post of our series on Ansible Tower Integration in Red Hat CloudForms.
As you saw from previous articles, Job Templates can be launched from CloudForms via Ansible Tower to run playbooks on targeted hosts. In particular we have looked at launching them from a button on a VM and from the CloudForms Service Catalog. In this last article, we examine how to expose Job Templates as Service Items to utilize them as part of a Service Bundle.
In this example, we reuse our ‘Deploy PostgreSQL’ Job Template to automate the installation and configuration of a PostgreSQL database on a newly provisioned VM. Our service bundle will deploy a new RHEL7 instance on Amazon EC2 and launch our Ansible Job Template to configure the database on this host.
Continue reading “Using an Ansible Job Template in a CloudForms Service Bundle”