Do like this: user_data"#!/bin/bash\nsleep 10"
you can pass python style \n newlines. On Friday, January 10, 2014 5:01:00 PM UTC-5, Kevin Fenzi wrote: > > Greetings. > > I find myself wanting to pass some user_data to a call to the ec2 > module, but I am unclear on the format I should be passing it. > > Basically I want to pass it: > > #cloud-config > disable_root: 0 > > When I call the ec2 module, what exactly do I give user_data= ? > > I tried various formats of a var with the above in it with no luck at > all. > > Any help appreciated. ;) > > kevin > -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
