Skip to content

Instantly share code, notes, and snippets.

@anmolnagpal
Created September 28, 2017 15:54
Show Gist options
  • Save anmolnagpal/b143d098452d8493d2bfad65155298f3 to your computer and use it in GitHub Desktop.
Save anmolnagpal/b143d098452d8493d2bfad65155298f3 to your computer and use it in GitHub Desktop.
makefile for ansible
config:
@echo "Running Ansible"
bash -c "docker exec -ti $(IMAGE) ansible-playbook -i inventory --extra-vars=@/tmp/extra_vars.yaml --connection=local --sudo /tmp/playbook.yaml"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment