VMware Cloud Community
dharmendrarhce
Enthusiast
Enthusiast

Run Ansible Role from VRA8 Blueprint

Hi Guys,

Could you please help me to create VRA8 blueprint for following details , I am able to get input as boolean,  but not sure how to pass this to ansible and run ansible command

1- Blueprint user input with check

      1- role1

      2- role2

      3- role3

2- VM created

3- run the command from ansible server -    ansible-playbook -i 178.23.152.32, -e role_list='role1, role2, role3" /home/ansible/execute_test.yml

Input  values in varible and pass to ansible as role and this command from ansible server. so if it's selected pass it , if not don't pass any roles ..

just run the ansible command so it will run the defaults.

Please help for this bluprint

Reply
0 Kudos
0 Replies