Ansible: How to change active directory in Ansible Playbook?


When I run my playbook, I get:

Any help is much appreciated.


There’s no concept of current directory in Ansible. You can specify current directory for specific task, like you did in your playbook. The only missing part was the actual command to execute. Try this:

Leave a Reply