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

2014-08-21 Thread Javier Barroso
Hello, How can I add a new line to a parameter, for example: fail: msg=Error:\n {myoutput.stdout} ... \n is not working there and not clue in doc / internet search Thank you for ansible ! -- You received this message because you are subscribed to the Google Groups Ansible Project group. To

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

2014-08-21 Thread kesten broughton
Snapshots let you store the state of a vm to roll back to later. It's different from cloning. I searched the module for clone and template and neither is there. The examples don't cover all the config options, nor do the docs. vm_hardware: memory_mb: 2048 num_cpus: 2 osid: centos64Guest scsi:

Re: [ansible-project] Ansible and Drupal BOF session @ DrupalCon Amsterdam this September

2014-08-21 Thread Michael DeHaan
Nice! Thanks for presenting! On Thu, Aug 21, 2014 at 5:08 AM, Dan Bohea dbo...@gmail.com wrote: Heads up for any Drupal people in this group: In case you're attending DrupalCon Amsterdam in September, I'd like to draw your attention to the BOF session on Ansible and Drupal

[ansible-project] Re: Mac provisioning: running PlistBuddy or sqlite3 from a playbook doesn't work

2014-08-21 Thread Dan Bohea
UPDATE: running either works just fine. -- 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,

Re: [ansible-project] Ubuntu Controller with Windows Host

2014-08-21 Thread Paul Durivage
You said you're getting a connection refused, so check the firewall and winrm settings on the Windows machine. There's an example script ( https://github.com/ansible/ansible/blob/devel/examples/scripts/ConfigureRemotingForAnsible.ps1) that takes care of WinRM making sure the box allows remote

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

2014-08-21 Thread Imran Khan
I have 3 variables named IPOctet, ServerIPRange and epcrange. If I perform the following operation in my terminal, it works perfectly IPOctet=$(echo $ServerIPRange/$epcrange+$IPOctet | bc) How to I do something similar in a ansible inside a task, for e.g hosts: localhost gather_facts: