On 24.01.2018 03:31, Sureshkumar Kaliannan wrote:
Can https_proxy be set on a per-host basis for e.g,
[nodes]
NFL-00053.abc.com ansible_ssh_port=16385 ansible_ssh_host=localhost
https_proxy=http://192.168.101.1:3128
This doesn't seem to work.
The https_proxy looks like needs to be setup as an environment variable
in
a playbook.
environment:
https_proxy: "{{ https_proxy }}"
But then this would apply to all hosts...
It wont since the https_proxy variable is only set on that one host.
Normally it should fail on host that don't have the variable https_proxy
set, but if you test you'll see that it works.
If this is a feature or a bug I do not know
--
Kai Stian Olstad
--
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/55de89cb4f1d705fa6f155c5fb689fe7%40olstad.com.
For more options, visit https://groups.google.com/d/optout.