On Tuesday, 6 November 2018 17:38:30 CET sase kumar wrote: > > > > > its set on /etc/profile > > I dont want to unset it because other applications in same machine are > using it but I dont want ansible to use the same when it executes the > playbook
unset doesn't unset the variable for other processes/application, it's just unset in your current command line session. So if you have two terminal windows open and run unset in one of them, only that session is affected, the other one still have the variable set. > So is there anyway where I can set variable only at playbook level so > that ansible alone will not use proxy during execution? You need to read my previous post one more time, I have a solution for the playbook in there. -- 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/6138779.5JcWKlCT0K%40x1. For more options, visit https://groups.google.com/d/optout.