Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Packer asynchronously #80

Open
milliams opened this issue Jul 1, 2020 · 0 comments
Open

Run Packer asynchronously #80

milliams opened this issue Jul 1, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@milliams
Copy link
Member

milliams commented Jul 1, 2020

Currently more than half the Ansible time is spent waiting for Packer to finish. If we could start it running earlier in the process and run the rest of the tasks in the meantime it would reduce the time-to-ready to just that of running Packer.

This can probably be done with async tasks: https://docs.ansible.com/ansible/latest/user_guide/playbooks_async.html

Also see https://blog.crisp.se/2018/01/27/maxwenzin/how-to-run-ansible-tasks-in-parallel and https://toptechtips.github.io/2019-07-09-ansible_run_playbooks_tasks_in_parallel/

@milliams milliams added the enhancement New feature or request label Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant