{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2294","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2294/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2294/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2294/events","html_url":"https://github.com/ansible/ansible-modules-core/pull/2294","id":111904325,"number":2294,"title":"Make the docker volumes binds a list instead of a dict","user":{"login":"fabianvf","id":2431974,"avatar_url":"https://avatars.githubusercontent.com/u/2431974?v=3","gravatar_id":"","url":"https://api.github.com/users/fabianvf","html_url":"https://github.com/fabianvf","followers_url":"https://api.github.com/users/fabianvf/followers","following_url":"https://api.github.com/users/fabianvf/following{/other_user}","gists_url":"https://api.github.com/users/fabianvf/gists{/gist_id}","starred_url":"https://api.github.com/users/fabianvf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabianvf/subscriptions","organizations_url":"https://api.github.com/users/fabianvf/orgs","repos_url":"https://api.github.com/users/fabianvf/repos","events_url":"https://api.github.com/users/fabianvf/events{/privacy}","received_events_url":"https://api.github.com/users/fabianvf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/bugfix_pull_request","name":"bugfix_pull_request","color":"ded270"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/cloud","name":"cloud","color":"c7def8"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/community_review","name":"community_review","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-16T20:25:55Z","updated_at":"2015-11-05T14:49:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/2294","html_url":"https://github.com/ansible/ansible-modules-core/pull/2294","diff_url":"https://github.com/ansible/ansible-modules-core/pull/2294.diff","patch_url":"https://github.com/ansible/ansible-modules-core/pull/2294.patch"},"body":" This will prevent overwriting configurations when copying the same file to two places.\r\n\r\nI just noticed this issue on one of my server builds, only the second one works, the first one just ends up as an empty directory for some reason. This is similar to the configuration I am using to reproduce the problem:\r\n```yml\r\ndocker_storage_volumes:\r\n      - \"{{ docker_storage_conf_dir }}local.py:/code/thing/local.py:ro\"\r\n      - \"{{ docker_storage_conf_dir }}local.py:/code/totally/different/thing/local.py:ro\"\r\n```"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/154081411","html_url":"https://github.com/ansible/ansible-modules-core/pull/2294#issuecomment-154081411","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2294","id":154081411,"user":{"login":"fabianvf","id":2431974,"avatar_url":"https://avatars.githubusercontent.com/u/2431974?v=3","gravatar_id":"","url":"https://api.github.com/users/fabianvf","html_url":"https://github.com/fabianvf","followers_url":"https://api.github.com/users/fabianvf/followers","following_url":"https://api.github.com/users/fabianvf/following{/other_user}","gists_url":"https://api.github.com/users/fabianvf/gists{/gist_id}","starred_url":"https://api.github.com/users/fabianvf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabianvf/subscriptions","organizations_url":"https://api.github.com/users/fabianvf/orgs","repos_url":"https://api.github.com/users/fabianvf/repos","events_url":"https://api.github.com/users/fabianvf/events{/privacy}","received_events_url":"https://api.github.com/users/fabianvf/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T14:49:57Z","updated_at":"2015-11-05T14:49:57Z","body":"Hmm, I was not aware. Looking at the documentation, it looks like the docker container creation API accepts binds as a list, so is there somewhere that the dictionary is being serialized? \r\n\r\nhttp://docs.docker.com/engine/reference/api/docker_remote_api_v1.18/\r\n"}}