Hi there,

I succesfully installed ansible on windows 10 ubuntu. Everything works... 
from ubuntu.

However, calling a playbook via windows does not work:
bash -c "~/test.sh"
ERROR! the playbook:x.ymlcould not be found

Ubuntu:
#!/bin/bash
cd /mnt/c/ops/
ansible-playbook bla bla command

I guess bash -c uses the windows system where ansible does not run.

My issue is that I need to automate stuff from powershell/scheduled task. I 
need to connect to the windows 10 ubuntu and run the playbook. I had no 
success calling the playbook from cmd or powershell.

Anybody know a way?


-- 
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/6e63f780-1ab4-4380-bc16-caa52123e7f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to