On Wednesday, August 3, 2016 at 3:24:09 AM UTC-4, Kai Stian Olstad wrote:
> Ansible will log in to the host with a user and in your case do a sudo. > This user don't have the correct path set and you will need to write > full path until you sort that out. > > Is there a reason why Ansible uses /bin/sh? (per the error message above.) When I SSH into the machine, it launches /bin/bash as my shell. Is there a way to tell Ansible to use /bin/bash instead? (which should then source /etc/profile which in turn sets the full path.) -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/1947e87f-c1b9-4cc3-9ad1-c9d0d7409811%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
