Hey

sorry if this has been asked but i didn't see much in the history to aid me.

I'm having trouble understanding what really is the difference between 
ansible-remote and ansible-local as provisioners to build an AMI within AWS.

We typically use ansible in its standard setup with SSH on our other 
projects for general CM/ad-hoc tasks run. I understand that ansible-local 
will copy the playbook to the remote node/ami instance i am building and 
run. I understand that ansible-remote will do the same/similar over SSH but 
i am not getting why i would choose one method over the other?

What are the pro/cons with either approach and why would i choose one over 
the other? As i wish to use playbooks using our standard config management 
and not just when building an AMI, i was thinking remote was the way to go 
but a lot seem to be using ansible-local which i have just tested and works 
fine. I understand there maybe slight differences to the playbooks written 
for each method and would prefer to stick with one method for both 
workloads. 

Cheers


-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/a03590d4-09dc-48df-961c-e8208cbb263f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to