{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2312","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2312/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2312/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2312/events","html_url":"https://github.com/ansible/ansible-modules-core/pull/2312","id":112243471,"number":2312,"title":"Add support for :z flag on Docker volumes","user":{"login":"alvaroaleman","id":6496100,"avatar_url":"https://avatars.githubusercontent.com/u/6496100?v=3","gravatar_id":"","url":"https://api.github.com/users/alvaroaleman","html_url":"https://github.com/alvaroaleman","followers_url":"https://api.github.com/users/alvaroaleman/followers","following_url":"https://api.github.com/users/alvaroaleman/following{/other_user}","gists_url":"https://api.github.com/users/alvaroaleman/gists{/gist_id}","starred_url":"https://api.github.com/users/alvaroaleman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvaroaleman/subscriptions","organizations_url":"https://api.github.com/users/alvaroaleman/orgs","repos_url":"https://api.github.com/users/alvaroaleman/repos","events_url":"https://api.github.com/users/alvaroaleman/events{/privacy}","received_events_url":"https://api.github.com/users/alvaroaleman/received_events","type":"User","site_admin":false},"labels":[{"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"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/feature_pull_request","name":"feature_pull_request","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-19T22:09:26Z","updated_at":"2015-10-21T11:38:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/2312","html_url":"https://github.com/ansible/ansible-modules-core/pull/2312","diff_url":"https://github.com/ansible/ansible-modules-core/pull/2312.diff","patch_url":"https://github.com/ansible/ansible-modules-core/pull/2312.patch"},"body":"This pr adds support for the ``:z`` flag on Docker volumes.\r\n\r\nThis is used to automatically set the secontext on selinux enabled systems. More details on this can be found [here](http://www.projectatomic.io/blog/2015/06/using-volumes-with-docker-can-cause-problems-with-selinux/).\r\n\r\nThe link above also states there is a ``:Z`` mode available. This is not the case on my up-to-date CentOS7 host, which is why I didn't implement that feature."},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/149862201","html_url":"https://github.com/ansible/ansible-modules-core/pull/2312#issuecomment-149862201","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2312","id":149862201,"user":{"login":"robynbergeron","id":3236604,"avatar_url":"https://avatars.githubusercontent.com/u/3236604?v=3","gravatar_id":"","url":"https://api.github.com/users/robynbergeron","html_url":"https://github.com/robynbergeron","followers_url":"https://api.github.com/users/robynbergeron/followers","following_url":"https://api.github.com/users/robynbergeron/following{/other_user}","gists_url":"https://api.github.com/users/robynbergeron/gists{/gist_id}","starred_url":"https://api.github.com/users/robynbergeron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robynbergeron/subscriptions","organizations_url":"https://api.github.com/users/robynbergeron/orgs","repos_url":"https://api.github.com/users/robynbergeron/repos","events_url":"https://api.github.com/users/robynbergeron/events{/privacy}","received_events_url":"https://api.github.com/users/robynbergeron/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T11:38:46Z","updated_at":"2015-10-21T11:38:46Z","body":"@alvaroaleman -- might be worth looking at #2176 just for info -- it looks like @jfindley was possibly able to use the :Z option, so maybe it's something you can collectively wrap your minds around... :)\r\n\r\nThanks! :D"}}