CloudForms Now

Debugging Ansible Automation inside Red Hat CloudForms

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.

 

 

Before you start, make sure Ansible Automation is correctly configured and running

 

First of all, before you start performing a deep debugging, make sure these steps are in place:

 

If the role is not properly configured and running, you will not be able to add playbooks or credentials.

 

Ok, Ansible Automation is up and running, but our playbook launches are not successful

 

Well, in that case, you need to dig a bit more to figure out what is wrong:

 

Where else can I find additional information?

 

If all the above steps are validated and you still have trouble, a good place to continue troubleshooting is to look at the CloudForms standard log files under /var/www/miq/vmdb on the appliance: