I want to resurrect a currently closed issue https://github.com/ansible/ansible/issues/16398. I'm just trying to understand why with_consul_kv looks for the env variable ANSIBLE_CONSUL_URL and we just don't make this an ansible variable. The problem i'm having is using it with tower as I can't control the environment var from there and because the way this is written it would need to happen in the ansible-playbook exec environment. All work arounds involve either writing my own module or adding the consul agent as a dep. Is there some reason we can't just modify with_consul_kv to look for a predefined var, or at the very least because that would be a breaking change to remove it, add some logic to also check for a predefined var? Anyone else see any problems with this?
-- 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/f1cb7dfb-6f7a-4cff-bfdc-a78d1e6ba043%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
