Re: [ansible-project] Re: Anyone managing snmp on Ubuntu with Ansible?

2014-08-23 Thread Henry Finucane
I'm glad that you wrote this down- I run snmpd on Ubuntu, and I suspect my setup only works accidentally. On Aug 19, 2014 9:07 AM, wrote: > I know this is an old thread, but it came up in google, and I have a > working solution now, so here it is. > > The trick is to remember that /var/lib/snmp/s

Re: [ansible-project] Ansible - Advanced shell command execution syntax

2014-08-23 Thread Henry Finucane
On Aug 23, 2014 10:09 AM, "Imran Khan" wrote: > > I posted that code piece of code for explanation purposes only, loop iteration i.e. the stop value is not fixed and will vary each time depending on user input (it is taken from the user at run time using vars_prompt) > > Please can you tell me how

Re: [ansible-project] Ansible - Advanced shell command execution syntax

2014-08-23 Thread Matt Martz
Isn't what you are doing mathematically equivalent to: z = x + (y * iterations) In which case, why do you need to store each result? Why not just run the task where you want to use this value using with_sequence, and use this formula directly? Such as this contrived example: - debug: msg="

Re: [ansible-project] Ansible - Advanced shell command execution syntax

2014-08-23 Thread Imran Khan
I posted that code piece of code for explanation purposes only, loop iteration i.e. the stop value is not fixed and will vary each time depending on user input (it is taken from the user at run time using vars_prompt) Please can you tell me how to do x=x+y with x=10(will change with each loop

Re: [ansible-project] vmware/esx/vsphere module - planning

2014-08-23 Thread Dann Bohn
It seems a few of us have different implementations of cloning a template, or VM. here's mine: Mine sets state to 'clone' (which probably should be 'cloned' or something more descriptive?) and then adds a parameter: template: to specify a template/VM in which to clone from. I had also noticed t

Re: [ansible-project] vmware/esx/vsphere module - planning

2014-08-23 Thread Dann Bohn
Hi all, I've added quite a bit to the vsphere_guest module to fit our needs, but haven't submitted PR due to lack of time to generalize / create documentation. I'm also the author of PR 7609 referenced above. Things that I've added are the ability to change dvs switch as part of reconfigure, cl

[ansible-project] Re: Command warnings - new feature in 1.8 - thoughts welcome!

2014-08-23 Thread Javier Barroso
For me, a very good decision :) -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send emai

[ansible-project] Re: How to add a newline inside a string ?

2014-08-23 Thread Javier Barroso
Hello, Just after publish this post, I discover that I can use a variable with "\n" as value and then use {{variable}}, and it works Thanks ! El jueves, 21 de agosto de 2014 11:22:05 UTC+2, Javier Barroso escribió: > > Hello, > > How can I add a new line to a parameter, for example: > > fail: m