February 26, 2021 By Sai Vennam 2 min read

We’re excited to announce the availability of Ansible Actions Open Beta in IBM Cloud Schematics. 

You can now run Ansible playbooks against your inventory of IBM Cloud resources, all directly within IBM Cloud Schematics.

What is Ansible?

Ansible (originally developed by Red Hat) is an open-source software-provisioning, configuration-management and application-deployment tool enabling Infrastructure as Code. For example, you can use Ansible to do the following:

  • Deploy application code on VSIs (such as on VPC Gen 2)
  • Install OS updates on VMs
  • Configure IBM Cloud resources post-provisioning
  • Deploy applications to managed Kubernetes clusters (such as IBM Cloud Kubernetes Service)

Learn more about Ansible with the following video:

How does Schematics enable Ansible?

Ansible and IBM Cloud Schematics are complementary solutions enabling end-to-end infrastructure automation with code. Schematics is a hosted solution that allows teams to collaborate, and it has built-in security, governance and auditability.

Schematics enables you to import Ansible playbooks, define input configuration and control the lifecycle of Ansible automation. Specifically, a Schematics action enables the following:

  • Configuring the GitHub repository where your Ansible playbook resides
  • Defining the resource inventory you want to run the playbook against
  • Executing Ansible playbooks in repeatable and consistent manner

How do Terraform and Ansible work together in Schematics?

Schematics supports two primary approaches to automation: Workspaces (Terraform-based) and Actions (Ansible-based). Whereas Terraform is primarily used for provisioning, Ansible excels at configuration management and application deployment. Together, Terraform and Ansible are a perfect match for end-to-end infrastructure automation.

In the future, we are planning to provide tools that enable users to connect the output of Schematics  Workspaces to Actions. For example, you can expect to dynamically run Ansible Actions against resources provisioned by a Terraform-based workspace.

How can I get started today?

Check out the following resources:

Questions or comments? You can reach me at svennam@us.ibm.com.

More from Automation

What you need to know about the CCPA rules on AI and automated decision-making technology

9 min read - In November 2023, the California Privacy Protection Agency (CPPA) released a set of draft regulations on the use of artificial intelligence (AI) and automated decision-making technology (ADMT).  The proposed rules are still in development, but organizations may want to pay close attention to their evolution. Because the state is home to many of the world's biggest technology companies, any AI regulations that California adopts could have an impact far beyond its borders.  Furthermore, a California appeals court recently ruled that…

Deployable architecture on IBM Cloud: A look at the IaC aspects of VPC landing zone 

5 min read - In the ever-evolving landscape of cloud infrastructure, creating a customizable and secure virtual private cloud (VPC) environment within a single region has become a necessity for many organizations. The VPC landing zone deployable architectures offers a solution to this need through a set of starting templates that can be quickly adapted to fit your specific requirements. The VPC Landing Zone deployable architecture leverages Infrastructure as Code (IaC) principles, that allow you to define your infrastructure in code and automate its…

Deployable architecture on IBM Cloud: Simplifying system deployment

3 min read - Deployable architecture (DA) refers to a specific design pattern or approach that allows an application or system to be easily deployed and managed across various environments. A deployable architecture involves components, modules and dependencies in a way that allows for seamless deployment and makes it easy for developers and operations teams to quickly deploy new features and updates to the system, without requiring extensive manual intervention. There are several key characteristics of a deployable architecture, which include: Automation: Deployable architecture…

IBM Newsletters

Get our newsletters and topic updates that deliver the latest thought leadership and insights on emerging trends.
Subscribe now More newsletters