lookup('pipe', 'script') might be more appropriate, it will succeed in
many cases that file will fail.

On Thu, Apr 30, 2015 at 1:34 PM, John Test <[email protected]> wrote:
> Figured it out thanks to sivel on IRC.
> In case anyone else is wondering just do a lookup('file', 'filename')
> The file called "filename" can be a bash script file, cloud init file, etc.
> Make sure the file starts with the appropriate header such as
> #!/bin/bash or #cloud-config etc.
>
>
>
> On Monday, April 27, 2015 at 7:37:45 AM UTC-4, John Test wrote:
>>
>> Hello
>>
>> I have a question regarding user_data parameter for nova_compute
>> http://docs.ansible.com/nova_compute_module.html
>>
>> Is it possible to see some examples?
>>
>> What I am trying to do:
>> Pass information to run commands / install software inside the instance
>> after it is launched
>>
>>
>> Thanks!
>
> --
> 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/bf3b0aad-643f-48cd-b9e0-ccf07d01daea%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



-- 
Brian Coca

-- 
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/CAJ5XC8kx7yuMfgEWxX48ivSDaOW4euv%2BynzR9_qg132vsQd7xQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to