What exactly is timing out? At what stage?
Either way, this looks like it's not something to fix from within ansible.
I would use the 'env' command to find out exactly what you need.

On Thu, 5 Aug 2021 at 01:23, Nagaraju chappa <[email protected]>
wrote:

> Hi Team ,
>
> When I am running an Ansible Playbook on an host it works fine with the
> root user , but when I tried with different user it is timing out .  It
> seems the ksh shell profile is looking for terminal type  for that user
> .Since  I am not passing from playbook it is timing out .
> For the same user , it works fine when I change the default shell to bash
> on the host .
>
> My question here is ,
>
>     1) is there a way programmatically can change the default shell to
> /bin/bash  from playbook?
>
>         I tried using environmental variable , but it didn't work.
>       or
>
>     2) Is there a way to pass the terminal type ?
>
> Thanks for your help in advance .
>
> Thanks,
> Nagaraju
>
> --
> 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/8cd42662-9442-4e79-802e-2c5dc6718282n%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/8cd42662-9442-4e79-802e-2c5dc6718282n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
Sent from a mobile device - please excuse the brevity, spelling and
punctuation.

-- 
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/CAL8fbwO8saHgOTcEU8jEyUZm1kdzBcO_qDpm0rFaS7ncbM%2BqGQ%40mail.gmail.com.

Reply via email to