Anyone used ansible playbook running using nodejs ?

Hello,

We are running anisble playbook using nodejs ansible module. Is there a way to get status back from ansible playbook? We basically wanted to know if playbook execution was success or not.

Thanks

All ansible utilities use the standard Unix return code, so if you get 0 its all OK, if you get other than 0 it is an error.