Think that's the case as
lookup('env','git_version') | default('master')
has the same error.On 21 July 2014 20:39, Tom Hall <[email protected]> wrote: > That does not work, > msg: Could not determine remote revision for > (presumably the lookup returns the empty string?) > > I dont have git_version set in my group_var's > > Tom > > On 21 July 2014 19:36, Brian Coca <[email protected]> wrote: >> version="{{ ( lookup('env','git_version')|default(git_version)) | >> default('master') }}" >> >> -- >> 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/CADn%2BHsy2kcdSkDN4UUOkc%2B-Hc1b9V-rL3o_fDOkf_Ph7r_%3DH3w%40mail.gmail.com. >> >> For more options, visit https://groups.google.com/d/optout. -- 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/CAMvQ07j07viSzrxMKZZ3p_uMLdmKRKEX_PuFjFsCGh1Hs64dxg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
