Created
June 19, 2014 08:29
-
-
Save MichaelBitard/c14636036aebd4445236 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
--- | |
- hosts: java_main_deploy | |
tasks: | |
- pip: name=docker-py | |
- docker: image=java7_maven publish_all_ports=true | |
sudo: yes | |
- debug: msg="{{docker_containers[0]['NetworkSettings']['Ports']['22/tcp'][0]['HostPort']}}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment