Last active
February 17, 2016 04:20
-
-
Save larsks/c1eefeee8f69e77c8849 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
host0 ansible_host=192.168.124.247 ansible_python_interpreter=/usr/local/bin/python-wrapper ansible_user=centos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
tty > /dev/null 2>&1 && ttyflag='-t' | |
exec docker run -i -v /home/centos:/home/centos $ttyflag --net=none --rm centos:centos7 python "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Put
python-wrapper
in/usr/local/bin
.