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 requiring JSON all the time, as most cases of folks wanting to write something in bash can be replaced with the 'script' module easily enough. The question in (B) is ... yes, by submitting a github pull request which is a symlink. However -- we have more OpenStack renaming planned instead, that will make things more like "os_floating_ip" instead, and stop using some codenames. This is more of an Ansible-devel discussion to an extent, Monty has weighed in with some suggestions on this in the future. We are apt to continue the existing OpenStack modules for some time and deprecate them, and this may result in slightly different and better unified module parameters, and other related things as well. On Tue, Nov 25, 2014 at 9:04 PM, Lorin Hochstein < [email protected]> wrote: > 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 >> module remains available for running bash scripts. >> > > Does this mean that Ansible always passes JSON to modules (no more # > WANT_JSON), or does this mean that Ansible always expects modules to return > JSON, or both, or something else? > > > * added ability for shipped modules to have aliases with symlinks >> > > Nice! Is there a mechanism for proposing aliases upstream? For example, if > I wanted to submit an alias for the "quantum_floating_ip" as > "neutron_floating_ip", can I submit a pull request with a symlink? Or is > this strictly up to the downstream packages to create these type of > symlinks? > > Lorin > > -- > 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/164e7e57-a875-4a96-9417-350c0392a670%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/164e7e57-a875-4a96-9417-350c0392a670%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CA%2BnsWgzDXtaVDk_NwXirORxu3h3qE6oT8vpY1Wc_AVjR8OPD5g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
