Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
docker module wont link port (but shell will)
10 views
Skip to first unread message
Mike Christofilopoulos
unread,
Jan 29, 2016, 7:04:26 AM
1/29/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Hi,
im running this[1] playbook against a server in order to start a logstash container, but i cannot get it to link the required ports.
This[2] is the full log of that run and nothing seems to be wrong, but when i do a `docker ps` i cannot see the ports[3].
If i run the corresponding docker command via the `shell` module[4], everything is fine as well and the ports are showing up just fine in the list[5]
This is a bit strange because the kibana[6] task runs all right and the port link is created.
Im not sure if this is a bug or not since this is my first attempt to run docker from ansible.
Cheers,
Mike
[1]
https://gist.github.com/serialdoom/a8b9b31c9680bff13bb2#file-elk-tasks-yml
[2]
https://gist.github.com/serialdoom/a8b9b31c9680bff13bb2#file-docker_logstash-txt-with-docker-module
[3]
https://gist.github.com/serialdoom/a8b9b31c9680bff13bb2#file-docker-ps-with-docker-module
[4]
https://gist.github.com/serialdoom/a8b9b31c9680bff13bb2#file-docker_logstash-txt-with-shell
[5]
https://gist.github.com/serialdoom/a8b9b31c9680bff13bb2#file-docker-ps-with-shell
[6]
https://gist.github.com/serialdoom/a8b9b31c9680bff13bb2#file-elk-tasks-yml-L40
Reply all
Reply to author
Forward
0 new messages