How to do it...

Executing playbooks from a Git repository involves two steps: first, we create a project, and then we create a template to execute the playbooks from the project. Let's start with creating a project:

  1. Go to the PROJECTS tab from the top navigation bar. A Demo Project has already been created for our convenience.
  2. Here, we need to click on the +ADD button. This will open a form for adding a new project.
  3. We will supply a name for our project and set the SCM TYPE to Git. The form will expand so we can enter the details about Git repository.
  1.  We will specify the GitHub URL ending in .git ( If required, we can add a credential for cloning or pulling the code from GitHub. ...

Get Ansible 2 Cloud Automation Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.