Thanks. Feels like what I want to achieve should be possible: fetch from group_vars, override with ENV (for rollback perhaps), default to a branch. I could do it easily in python but we have jinja and yaml
Tom On 21 Jul 2014 19:19, "Brian Coca" <[email protected]> wrote: > > On Mon, Jul 21, 2014 at 1:59 PM, Tom Hall <[email protected]> wrote: > >> {{ git_version | lookup('env','git_version') | default('master') }}" > > > this is not a valid construct, lookup is not a filter. > > > -- > Brian Coca > Stultorum infinitus est numerus > > 0110000101110010011001010110111000100111011101000010000001111001011011110111010100100000011100110110110101100001011100100111010000100001 > Pedo mellon a minno > > -- > 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%2BHszqaBdjXnjTs_V63ufFCJDv65kXc4DL%2B3wW0NOen50qOw%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CADn%2BHszqaBdjXnjTs_V63ufFCJDv65kXc4DL%2B3wW0NOen50qOw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > 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/CAMvQ07j-q8JKnoaX7ixPDEDF9D6MRqAL0ECLOaFCQZ5rsroQEA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
