On Tuesday, 4 December 2018 16:10:48 CET Dimitri Yioulos wrote: > Thanks, Kai. > > Now, I'm completely turned around. > > In order for /scripts/dnscopy.pl -f to work in the remote host itself, I > must su - root first. I thought that become: yes took care of that. > Here's the playbook as it stands (and fails) now:
Become uses sudo by default unless you set become_method: su Default I think it only will do "su root -c /scripts/dnscopy.pl -f" so if you need the - aka --login option you might need become_flags: '-' as well -- 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 [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/1570442.kdyfLq1ao9%40x1. For more options, visit https://groups.google.com/d/optout.
