On Tuesday, 4 December 2018 21:48:17 CET Dimitri Yioulos wrote:
> Piotr,
> 
> Fair enough.  And, I do appreciate you sticking with this.
> 
> Output of "echo $PATH":
> 
> /usr/kerberos/sbin:/usr/kerberos/bin:/usr/bin:/bin
> 
> Output of "which rndc":
> 
> /usr/bin/which: no rndc in 
> (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/bin:/bin)   <-- not a surprise; 
> BIND isn't installed on this machine

rndc is usually located in /usr/sbin so you can't use which to determine if 
it's installed since /usr/sbin in some distribution is only in root's path.


The problem in this long thread you have not showed the complete command you 
are running, neither with Ansible or manually on the command line with the 
result.


With ansible-playbook it's preferably to have that with -vvvv and to make the 
output easier to read the debug callback plugin.
Then the command will be
ANSIBLE_STDOUT_CALLBACK=debug ansible-playbook .........
Because of the missing output these thread have a tendency to be longer than 
they could have been.

su usually require a root password so do you use -K/--ask-become-pass on the 
command line.

-- 
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/1705138.hhaqN51Kjx%40x1.
For more options, visit https://groups.google.com/d/optout.

Reply via email to