[ansible-devel] Elastic search-Zookeeper integration using ansible

2017-08-09 Thread Abhishek Gupta
Hi, I am trying to handshake between elastic search and zookeeper. That is I am trying to register elastic search node in zookeeper using ansible. Is there any plugin support for doing this? -- You received this message because you are subscribed to the Google Groups "Ansible Development"

Re: [ansible-devel] Custom module error

2017-08-09 Thread Adam Shantz
Hi Adrian - I think you're right about the quoting. Here's the ouput without any modifications to my module: ansible -v localhost -m new_module -a 'src=/home/ec2-user/ansible/routerconfig.xml' Using /etc/ansible/ansible.cfg as config file [WARNING]: Could not match supplied host pattern, ign

Re: [ansible-devel] Custom module error

2017-08-09 Thread Adrian Likins
comments inl On Wed, Aug 9, 2017 at 1:40 PM, Adam Shantz wrote: > Hi Adrian - > > I think you're right about the quoting. Here's the ouput without any > modifications to my module: > > ansible -v localhost -m new_module -a 'src=/home/ec2-user/ansible/ > routerconfig.xml' > Using /etc/ansible/an

Re: [ansible-devel] Custom module error

2017-08-09 Thread Adam Shantz
Thanks. I changed my module & the result is below. I guess since queuesList is technically a list of dicts, it can't be automatically serialized? If I change it from a list to a dict, then I assume things should be easier to handle automatically? I guess I need to do more research on how to

Re: [ansible-devel] Custom module error

2017-08-09 Thread Adrian Likins
comments inl On Wed, Aug 9, 2017 at 1:40 PM, Adam Shantz wrote: > Hi Adrian - > > I think you're right about the quoting. Here's the ouput without any > modifications to my module: > > ansible -v localhost -m new_module -a 'src=/home/ec2-user/ansible/ro > uterconfig.xml' > Using /etc/ansible/an

Re: [ansible-devel] Custom module error

2017-08-09 Thread Adrian Likins
A list should be fine, and looking at how queuesList is populated, I don't see any obvious that would not be json serializable. But to diagnose/debug further, really need the stdout output from invoking the module directly. ie: # cd to your ansible src checkout $ cd ~/src/ansible $ source hacking