The vRA Software Components Ansible Integration

In this guide I will show you to use a Software Components Blueprint to integrate Ansible Playbooks. In this example I am using what I describe as Ansible Standalone. Meaning, there is no Ansible Server that is pusing the playbook to this server. I simply install ansible, pull the playbook from my GitHub repository and run ansible locally.

Pre-Reqs

  • Working installation of vRealize Automation 7 Enterprise
  • Cloud Client 4 installed from here
  • Download the Ansible_Examples_SC Blueprint here
  • Working vRealize Automation Agent Blueprint – See my guide here
  • SE Linux enabled in Passive Mode in the above template see here for instructions
  • Internet access from the provisioned VM

Use cloud client to upload the blueprint to your vRA installation

See my guide here on importing blueprints into vRA here

Create your Playbooks_EL7 drop down list:

  1. Go to administration Tab
  2. Click on Property Definitions
  3. Click +New
    Property Definition

Enter the following:

  1. Enter a name
  2. Enter the same for label
  3. Enter a description
  4. Select String
  5. Select Yes
  6. Choose Dropdown
  7. Click New and create the selections

 

Make sure you configure the blueprint settings for your template settings

Go to the design tab, blueprints and edit the Ansible_Examples_SC blueprint

Now entitle the catalog item and fire off a new request

FYI

I am pulling the Playbooks from here https://github.com/vmtocloud/ansible-examples

Remember sharing is caring!

One Reply to “The vRA Software Components Ansible Integration”

  1. Pingback: vRA Ansible Integration 3 ways – VMtoCloud.com