Extracted ansible-pull to shell script to function more reliably within the box