Still, it's not impossible -- It only requires that you add the plugins in a path and configure it or have an ansible.cfg.
(Note, this is really a discussion for ansible-devel list) Anyway, Ansible is an application, not a library. Inventory plugins are also not Python modules, they are programs. There are also configuration files for them. I'm not sure where someone would expect them to be installed in that case, and pip is a way of installing Python programs, which should not be the interface most people have to interact with in order to install ansible. (They absolutely should not have to understand virtualenv either) I'd still take the view that most of these are examples and in many cases users may wish to adapt them more to their environments. I'm not familiar with language-agnostic non-python content typically being installed in pip in this way, and in non-virtualenv state, I'd want these artifacts going in the same place the package manager would place them. So that's the question to be resolved. On Mon, Jan 27, 2014 at 12:02 PM, Scott Anderson <[email protected]>wrote: > It seems unfortunate to not include at least the Python modules in the pip > install. > > The main issue here is that my desire is to have Ansible installed only in > a virtualenv. Using an OS package enforces a particular Ansible version > across the entire machine. > > -scott > > > On Sunday, January 26, 2014 12:28:24 PM UTC-5, Michael DeHaan wrote: > >> I am fine with shipping them (disabled) in the main OS packages in an >> examples dir but do not believe pip is the proper way here. >> >> Remember Ansible is mostly written in Python but this is not enforced. >> >> -- Michael >> >> > On Jan 26, 2014, at 12:07 PM, Scott Anderson <[email protected]> >> wrote: >> > >> > Hi all, >> > >> > Is there a pip package that included the plugins directory (inventory >> plugins, etc)? The "ansible" package doesn't seem to include the plugins, >> which makes automatic management a bit messier. I'd rather not have to git >> clone a copy just to use the plugins. >> > >> > Thanks in advance, >> > -scott >> > >> > -- >> > 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]. >> > 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]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Michael DeHaan <[email protected]> CTO, AnsibleWorks, Inc. http://www.ansibleworks.com/ -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
