Ansible playbook fails against Docker for Mac container - succeeds for same container in Docker Tools VM

Expected behavior

I expect the role to print out the hostname of the container

Actual behavior

I get the following error:

ESTABLISH DOCKER CONNECTION FOR USER: None
<slave_0001> EXEC ['/usr/local/bin/docker', 'exec', '-u', None, '-i', u'slave_0001', '/bin/sh', '-c', u"/bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python'"]
fatal: [slave_0001]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_name": "command"}, "module_stderr": "", "module_stdout": "", "msg": "MODULE FAILURE", "parsed": false}

Information

pinata diagnose -u
OS X: version 10.11.3 (build: 15D21)
Docker.app: version v1.11.1-beta11
Running diagnostic tests:
[OK]      docker-cli
[OK]      Moby booted
[OK]      driver.amd64-linux
[OK]      vmnetd
[OK]      osxfs
[OK]      db
[OK]      slirp
[OK]      menubar
[OK]      environment
[OK]      Docker
[OK]      VT-x
Docker logs are being collected into /tmp/20160511-110109.tar.gz
Most specific failure is: No error was detected
Your unique id is: DAD004CC-20C1-44F6-BB71-097BA5E3A46E
Please quote this in all correspondence.

The following project reproduces the issue: https://github.com/dregin/ansible-docker-connector

OSX Version 10.11.3 (15D21)

Steps to reproduce the behavior

Steps included in github repo README.md