Re: [ansible-project] Interactive commands

2014-11-18 Thread Thomas Quinot
* Michael DeHaan, 2014-11-17 : > Basically this isn't going to end well. Can you elaborate? > The 'raw' module is useful for sending to devices that look like Unix > shells, but some things are too weird to work this way. Right, hence the proposal to extend it to offer a chat-script-style faci

Re: [ansible-project] Multiple inventory sources

2014-11-18 Thread Thomas Quinot
* Michael DeHaan, 2014-11-17 : > I don't think as inventory directories are an existing thing. Not sure what you mean, as far as I can tell this is supported by ansible.inventory.dir, and documented under "Using Multiple Inventory Sources". > That being said, any alternative way of managing inve

[ansible-project] Multiple inventory sources

2014-11-17 Thread Thomas Quinot
Redirecting from -devel as advised. On Fri, Nov 14, 2014 at 6:19 AM, Thomas Quinot wrote: > As far as I understand the current state of source code, ansible_hosts > can be: > * the path to a dynamic inventory program > * the path to a static inventory file > * the path

[ansible-project] Interactive commands

2014-11-17 Thread Thomas Quinot
Redirecting from -devel as advised... On Thu, Nov 13, 2014 at 2:27 PM, Thomas Quinot wrote: > I am considering managing some network equipment (switches) with the > 'raw' module. This requires sending commands to the switch in an > interactive session (command streamed b