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.
To replicate what we do in this video you must complete the steps provided in our previous post My First Ansible Service.
Specifically, what we show in this video is how to:
Launch an Ansible service using the CloudForms REST API
Check its status via REST API
The Red Hat Knowledge Base article, including the necessary playbooks to implement this example, are available on this Red Hat Knowledge Base article.
Quelle: CloudForms
Published by