On Wed, 9 Sep 2020 at 13:21, Mohtashim S <[email protected]> wrote:
>
> @Dick
>
> ANSIBLE_SSH_ARGS=""  ansible-playbook -i 10.9.88.205, -f 5 testpython.yml -e 
> ansible_ssh_use_tty=no -vvvv  works !! and i dont see the -o ControlPath 
> anymore.
>
> However, I stated in the original post I'm using anisble plugin inside 
> Jenkins where i cannot find any option to specify ANSIBLE_SSH_ARGS="" 
> environment variable.
>
> Adding ANSIBLE_SSH_ARGS="" to playbook yml also does not work like below:
>
> - name: Play 2- Configure Source nodes
>   hosts: all
>   user: root
>   ignore_errors: yes
>   gather_facts: false
>   vars:
>     ansible_ssh_pipelining: no
>     ANSIBLE_SSH_ARGS=""

I think this ^^ should be lower case, i.e.:

   vars:
     ansible_ssh_pipelining: no
     ansible_ssh_args: ""

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAL8fbwOeVNLcwrkcBT5xC%2BfjYJVcxdDB6vXRvp0UqY%3DdYH0qMQ%40mail.gmail.com.

Reply via email to