Thank you Benno and Brian, that worked perfectly :-)
- Aneesh On Thursday, June 4, 2015 at 11:02:29 AM UTC+5:30, benno joy wrote: > > ohh sorry yes, the variable i mentioned is used to change the 'sudo' > binary. > > > - Benno > > > On Thu, Jun 4, 2015 at 10:46 AM, Aneesh Joseph <[email protected] > <javascript:>> wrote: > >> Thanks Benno, >> I hope you meant setting '*executable = /bin/bash*' in ansible.cfg? >> >> - Aneesh >> >> On Thursday, June 4, 2015 at 10:38:22 AM UTC+5:30, benno joy wrote: >>> >>> >>> >>> try setting 'sudo_exe=/bin/bash in ansible.cfg or export >>> ANSIBLE_SUDO_EXE=/bin/bash >>> in your cli and then running the playbook, >>> >>> usually /bin/sh is link to /bin/bash in centos/rhel systems. >>> >>> - Benno >>> >>> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/c75fb495-6c66-48f2-afe5-f60e393d6f5b%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/c75fb495-6c66-48f2-afe5-f60e393d6f5b%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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/ce2e5b93-2f4b-4927-b020-d6d98533ee66%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
