Piotr,

Well, not quite.  It's true that Bind isn't installed on the host in which 
the script is installed and runs.  If I run the script from there, after 
su'ing to root, it works fine. But, why doesn't the script execute from 
Ansible as written - running rndc on the dns servers that are identified in 
the script?

Dimitri

On Monday, December 3, 2018 at 11:44:08 AM UTC-5, Dimitri Yioulos wrote:
>
> Hey, all.
>
> I need to run a script residing on the remote machine with a switch, as in 
> "/scripts/myscript -f" (it must be executed by root).  I'm using the shell 
> module, but can find no way to add the switch without the play failing.  
> Help would be appreciated.
>
> Dimitri
>

-- 
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/89bac4c8-96d7-4eaa-92a8-0ee0d29ecc0c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to