Configure Ansible Tower to fetch Inventory from Cloudforms

Ansible is an open-source enterprise software provisioning, configuration management, and application-deployment tool enabling infrastructure as code. An Inventory is important aspect and there are multiple ways to create it in tower. Detailed information can be referred from this URL:-

In this article, I am going to cover, how to configure ansible tower to fetch inventory from Red Hat Cloudforms on-demand. It requires:-

  1. Configure relevant Cloudforms Credentials
  2. Configure Cloudforms as Inventory source.

Configuring Cloudforms Credentials:-

Fill in relevant details i.e Name, Organization, Credential TYPE as Red Hat Cloudforms, Cloudroms URL, username & password of your Cloudforms.

No alt text provided for this image

Configuring Cloudforms Inventory Sources

  • Create an Inventory e.g. Cloudforms VMs
No alt text provided for this image
  • Configure Sources by stating Name as All Servers, and selet Source as Red Hat CloudForms, and credentials created in last step.
No alt text provided for this image
  • Make sure, you checked Overwrite & Update on Launch option.
  • Synchronize the inventory by clicking on refresh icon.
No alt text provided for this image
  • Verify if hosts visible to cloudforms are synced to Tower..
No alt text provided for this image

That’s all, your Tower is ready to execute any Job Template on any of the hosts which is visible to Cloudforms.

Krishan Kumar

Chief Manager - Cloud & Infrastructure Services at Airtel Payments Bank | Architect for Linux , Containers , Virtualization & Cloud Solutions

4 年

Awesome explanation

Pawan Dubey

Experienced System Analyst with expertise in Kubernetes, Terraform, and Ansible

4 年

Awsome ????

回复
Mamta Mulani

Senior Software Engineer at AsiaCloud Solutions Private Limited

4 年

Very nice

Ayush C.

Splunk SME/Consultant | Splunk Enterprise/SIEM | Vice President at United Overseas Bank (UOB)

4 年

Sir, it’s very good. ????

Gunjan Kumar Pandey-PMP?

PMP Certified Leader: Data Science & AI, Orchestrating Multi-Cloud Linux/Kubernetes/SRE/DevOps /MLOPS, Infoblox/Nokia QIP DDI/IPAM Expertise.

4 年

Awesome ??

要查看或添加评论,请登录

Rajveer Singh的更多文章

社区洞察

其他会员也浏览了