IBM Cloud Docs
Sample Ansible playbook templates for Schematics actions

Sample Ansible playbook templates for Schematics actions

Explore the IBM provided Ansible playbooks to run cloud operations on target hosts or to get started with Schematics actions.

Use the links on the page as follows:

  • View GitHub repo: Click the link to open the Git repository where the template is stored. You can review the file structure, the Ansible playbook instructions, and the README file that contains the steps to use the template in Schematics.
  • Deploy to IBM Cloud: Button takes you to Create an action page with the GitHub repository URL and the Action name pre-populated.

Running cloud operations on Virtual Servers for VPC

Description
Use ansible-is-instance-actions Ansible playbook to perform Day 2 operations such as start, stop, and restart for IBM Cloud® Virtual Servers for Virtual Private Cloud. To configure and run the Schematics actions by using the CLI or console, see readme file template file.
Source
View on GitHub
Deploy
Auto deployment button Deploy to IBM Cloud

Provisioning a LAMP stack on Virtual Servers for VPC

Description
Use lamp-simple Ansible playbook to deploy the LAMP stack components on Virtual Servers for VPC by following a simple deployment architecture. To configure and run the Schematics actions by using the CLI or console, see readme file template file.
Source
View on GitHub
Deploy
Auto deployment button Deploy to IBM Cloud

Configuring IBM Cloud Databases for PostgreSQL with WAL2JSON plug-in

Description
Use ansible-icd-postgres-actions Ansible playbook to configure the WAL2JSON plug-in on your IBM Cloud Databases for PostgreSQL service instance. To configure and run the Schematics actions by using the CLI or console, see readme file template file.
Source
View on GitHub
Deploy
Auto deployment button Deploy to IBM Cloud

Automating app deployments in IBM Cloud Kubernetes Service

Description
Use ansible-app-deploy-iks Ansible playbook to deploy Hackathon Starter on an IBM Cloud® Kubernetes Service cluster. To configure and run the Schematics actions by using the CLI or console, see readme file template file.
Source
View on GitHub
Deploy
Auto deployment button Deploy to IBM Cloud

Installing kubectl on Virtual Servers for VPC

Description
Use ansible-kubectl Ansible playbook to install the Kubernetes CLI kubectl on Virtual Servers for VPC by using a role from Ansible Galaxy. To configure and run the Schematics actions by using the CLI or console, see readme file template file.
Source
View on GitHub
Deploy
Auto deployment button Deploy to IBM Cloud

Looking for more code examples? Check out the samples for IBM Cloud Schematics GitHub repositories.