{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2155","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2155/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2155/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2155/events","html_url":"https://github.com/ansible/ansible-modules-core/pull/2155","id":108337313,"number":2155,"title":"WIP: add 'env_file' support. Refs #792.","user":{"login":"vpetersson","id":357664,"avatar_url":"https://avatars.githubusercontent.com/u/357664?v=3","gravatar_id":"","url":"https://api.github.com/users/vpetersson","html_url":"https://github.com/vpetersson","followers_url":"https://api.github.com/users/vpetersson/followers","following_url":"https://api.github.com/users/vpetersson/following{/other_user}","gists_url":"https://api.github.com/users/vpetersson/gists{/gist_id}","starred_url":"https://api.github.com/users/vpetersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpetersson/subscriptions","organizations_url":"https://api.github.com/users/vpetersson/orgs","repos_url":"https://api.github.com/users/vpetersson/repos","events_url":"https://api.github.com/users/vpetersson/events{/privacy}","received_events_url":"https://api.github.com/users/vpetersson/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/feature_pull_request","name":"feature_pull_request","color":"009800"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/needs_revision","name":"needs_revision","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-25T14:29:34Z","updated_at":"2016-01-31T20:47:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/2155","html_url":"https://github.com/ansible/ansible-modules-core/pull/2155","diff_url":"https://github.com/ansible/ansible-modules-core/pull/2155.diff","patch_url":"https://github.com/ansible/ansible-modules-core/pull/2155.patch"},"body":"Suggested/untested env-file support for public feedback."},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/177606142","html_url":"https://github.com/ansible/ansible-modules-core/pull/2155#issuecomment-177606142","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2155","id":177606142,"user":{"login":"gesellix","id":432791,"avatar_url":"https://avatars.githubusercontent.com/u/432791?v=3","gravatar_id":"","url":"https://api.github.com/users/gesellix","html_url":"https://github.com/gesellix","followers_url":"https://api.github.com/users/gesellix/followers","following_url":"https://api.github.com/users/gesellix/following{/other_user}","gists_url":"https://api.github.com/users/gesellix/gists{/gist_id}","starred_url":"https://api.github.com/users/gesellix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gesellix/subscriptions","organizations_url":"https://api.github.com/users/gesellix/orgs","repos_url":"https://api.github.com/users/gesellix/repos","events_url":"https://api.github.com/users/gesellix/events{/privacy}","received_events_url":"https://api.github.com/users/gesellix/received_events","type":"User","site_admin":false},"created_at":"2016-01-31T20:47:37Z","updated_at":"2016-01-31T20:47:37Z","body":"@vpetersson I finally had a chance to try your changes :-)\r\nSadly, it didn't work out of the box, because the `env_file` needs to be read before creating the container config. See https://github.com/gesellix/ansible-modules-core/commit/c8f09e71712cad09bd986ac87c7f78998b1b229a for my fix, which also adds a dedicated method to merge `env_file` with `env`. If you like, you can merge the changes with your branch, otherwise I can add an own PR.\r\nWhat's missing: it hasn't rebased on the current upstream master, yet. Ah, which also means that I checked with Ansible 1.9 and not with the most recent 2.x.\r\n"}}