ansible / community

This repository is being archived. See https://github.com/ansible-community/presentations and https://github.com/ansible-community/meetings for the new locations
Apache License 2.0
489 stars 144 forks source link

ansible running really slowly on AWS ec2 when bootstrapped. #571

Closed skomm-cap1 closed 4 years ago

skomm-cap1 commented 4 years ago

I am using ansible to automate provisioning of binaries/artifacts when a ec2 is launched. This is part of the userdata in Cloudformation used to create that stack. The script down loads the ansible play books and executes them locally. Now, when run through automation...the play books are executed really slowly. There is a pause for every task and this takes almost 30 minutes to complete.

However, if I execute the play books manually by logging to the instance at command prompt...it files and completes in under 5 minutes.

What could be going on here ? Any idea ?

TIA

gundalow commented 4 years ago

Please use the email list https://docs.ansible.com/ansible/latest/community/communication.html