Skip to content

Instantly share code, notes, and snippets.

@julian-labuschagne
Created November 12, 2018 12:40
Show Gist options
  • Save julian-labuschagne/30fe3da85d9691c0e1a11a2eea015892 to your computer and use it in GitHub Desktop.
Save julian-labuschagne/30fe3da85d9691c0e1a11a2eea015892 to your computer and use it in GitHub Desktop.
How to run ansible tasks on local machine from a virtualenv

Run playbook on localhost

ansible-playbook docker.yml --become --ask-become-pass -e ansible_python_interpreter=/usr/bin/python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment