In this case, you should be able to use it. In general, you just have to be mindful of where a variable gets used and templated and where it gets defined.
Since connection variables get used after role imports, this should not be a problem. -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAJ5XC8%3Dd%3Dm84tJUUV1icSZKVbUCNoLDxe-z840r1_QcJB8LH4g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.