Convert Ansible playbook to bash script

12 views
Skip to first unread message

Sushant Sawant

unread,
Jun 3, 2020, 2:30:34 PM6/3/20
to Ansible Project
Hi guys,

Little bit of background, I have a project which has ansible playbook vagrant installation. This runs on my local machine Ubuntu 18.04

There is no developer working on this, I have no experience on ansible.

To take this to server, ansible is unable to access 2222 port on virtual box on EC2 instance. After googling stuffs I find, running another virtual machine on EC2 is not allowed, as EC2 itself is an virtual machine.

So as an solution, I thought of running this ansible playbook on localhost of EC2 instance. The playbook ran successfully with no error but it missed lots of settings or rather skipped.

If I can get bash scripts from ansible helps me to understand parameter, variables required.

Any new idea helps..

Thanks,
Sushant

Dick Visser

unread,
Jun 3, 2020, 2:53:45 PM6/3/20
to ansible...@googlegroups.com
Hi

It would help if you come up with actual playbooks and a (better) description of what this is actually about.
I see a few random technology names like vagrant, virtual box, EC2 but those mean nothing without context.
You will get the best results with specific questions about Ansible related issues. 
On the other hand, reverse engineering documentation from abandoned playbooks might not yield too many responses.




--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c60b40c4-d5bf-4779-9418-fe15f811cb08%40googlegroups.com.
--
Sent from a mobile device - please excuse the brevity, spelling and punctuation.
Reply all
Reply to author
Forward
0 new messages