shell/command/raw actions by default are always changed, you want to
use the changed_when clause. The return of ok/changed=true/false only
works for modules written in shell, not for scripts called from shell
module (FYI, there is also script module).


-- 
Brian Coca

-- 
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/CAJ5XC8k5kpJTPqB56tdEwipO_cuYSH-EQYvoMHh9O31LvtD8zg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to