Re: [ansible-project] Re: Ansible 1.8 Released!

2014-11-26 Thread Michael DeHaan
If you run with "-v" you should see all the things the script module returns. rc/stdout and the usual stuff from command, more or less, IIRC. On Wed, Nov 26, 2014 at 9:22 AM, Lorin Hochstein < lorin.hochst...@sendgrid.com> wrote: > One last question: When you invoke a script with the 'script'

Re: [ansible-project] Re: Ansible 1.8 Released!

2014-11-26 Thread Lorin Hochstein
One last question: When you invoke a script with the 'script' module, can it return values? i.e., can I set changed=true/false, or invoke it with a "register" clause? Lorin On Wed, Nov 26, 2014 at 12:26 AM, Michael DeHaan wrote: > The question in (A) means that modules must emit json, and key

Re: [ansible-project] Re: Ansible 1.8 Released!

2014-11-25 Thread Michael DeHaan
The question in (A) means that modules must emit json, and key=value pairs one per line are not acceptable module stdout any longer. The capability of modules to not take JSON for non-Python modules still is around, ergo the WANT_JSON thing is still there. However, I can see this eventually requ

[ansible-project] Re: Ansible 1.8 Released!

2014-11-25 Thread Lorin Hochstein
Cool! I've got a couple of questions: On Tuesday, November 25, 2014 5:56:21 PM UTC-5, James Cammarata wrote: > > For developers writing modules: > > * The 'baby JSON' support in module responses, originally intended for > writing modules in bash, is removed as a feature to simplify logic, script

[ansible-project] Re: Ansible 1.8 Released!

2014-11-25 Thread Michael DeHaan
For those looking for fact-caching docs BTW: http://docs.ansible.com/playbooks_variables.html#id34 Hastily produced blog post: http://www.ansible.com/blog :) On Tue, Nov 25, 2014 at 5:56 PM, James Cammarata wrote: > Hi all, > > We have released Ansible 1.8.0, which adds some exciting new