Hi,
I am new to Ansible Playbook. I need helps on structuring my playbook, here is my requirement.
→ Create new instance in AWS using ansible playbook
(User needs to provide ami ID, security group, tag name etc at run time…)
→ Run custom script to set properties on the instances which created on above step.
(Should be python Script which ssh into above instance and set some properties)
I have Ansible playbook with hardcoded values of ami ID, security group etc…
I have create python script and it works fine when I ran it individually.
Now I need to integrate both this playbook and python script as well as needs to change the values into user input. Please suggest me best way to do this… and some useful tips…
Thanks,
Sakthi