I'd disagree here.

The idea that shouldn't need to install anything to manage the remote OS is
very important to Ansible, and if you start building images with Ansible on
it, you've lost some of the advantages, and also the ability to centrally
manage multiple machines at once.

There's a reason so many people using Vagrant go the Ansible route -- not
having to worry about the images is a large part of that.

That being said, if you're running ansible-pull in prod, that WOULD
actually be closer.   (Not many people do)

I'd recommend still running things from the host.


On Wed, Mar 5, 2014 at 2:27 AM, Oliver Heinz <
[email protected]> wrote:

> Puppet or chef are usually already part of the baseboxes. You can work the
> same way with ansible. Just build a basebox that has a working ansible (I
> use veewee[1] for automated building of those baseboxes). Then you can
> put all the ansible stuff in a  subdirectory of your project dir and run
> the playbooks using the shell provisioner (using localhost and connection:
> local).
>
> If someone asks why you would do this and not just use the host side
> installed ansible provisioner: This way you can easily reuse plays that you
> use for staging/production environments for your developer's vagrant boxes,
> even if  developers have the vagrant boxes running on windows or mac os
> hosts.
>
> [1] https://github.com/jedi4ever/veewee
>
>
>  --
> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/6e66752a-b012-4020-8222-da2be0150dbb%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/6e66752a-b012-4020-8222-da2be0150dbb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAEVJ8QPnSaDfcShm6oAyXGnC06OgORjcd05708nNAkwg5PaKVg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to