Hi, I have more then one DC, one with proxy and the other with no proxy. Almost all my servers are on the DC that has proxy. Can I set something like (taken from ansible documentation):
---# file: group_vars/boston ntp_server: ntp.bos.example.combackup: bak.bos.example.comproxy_env: http_proxy: http://proxy.bos.example.com:8080 https_proxy: http://proxy.bos.example.com:8080 and use environment: "{{proxy_env}}" but for the other hosts undefined/unset the proxy_env and don't use the "environment"? -- 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/ccb62d25-d09e-4cec-9661-20c771e33097%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.