{"action":"created","issue":{"url":"https://api.github.com/repos/OSAS/ansible-role-httpd/issues/15","repository_url":"https://api.github.com/repos/OSAS/ansible-role-httpd","labels_url":"https://api.github.com/repos/OSAS/ansible-role-httpd/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/OSAS/ansible-role-httpd/issues/15/comments","events_url":"https://api.github.com/repos/OSAS/ansible-role-httpd/issues/15/events","html_url":"https://github.com/OSAS/ansible-role-httpd/pull/15","id":191554775,"number":15,"title":"ensure vhost config is before default packages config","user":{"login":"duck-rh","id":19259504,"avatar_url":"https://avatars.githubusercontent.com/u/19259504?v=3","gravatar_id":"","url":"https://api.github.com/users/duck-rh","html_url":"https://github.com/duck-rh","followers_url":"https://api.github.com/users/duck-rh/followers","following_url":"https://api.github.com/users/duck-rh/following{/other_user}","gists_url":"https://api.github.com/users/duck-rh/gists{/gist_id}","starred_url":"https://api.github.com/users/duck-rh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duck-rh/subscriptions","organizations_url":"https://api.github.com/users/duck-rh/orgs","repos_url":"https://api.github.com/users/duck-rh/repos","events_url":"https://api.github.com/users/duck-rh/events{/privacy}","received_events_url":"https://api.github.com/users/duck-rh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-11-24T16:06:18Z","updated_at":"2016-12-06T09:34:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OSAS/ansible-role-httpd/pulls/15","html_url":"https://github.com/OSAS/ansible-role-httpd/pull/15","diff_url":"https://github.com/OSAS/ansible-role-httpd/pull/15.diff","patch_url":"https://github.com/OSAS/ansible-role-httpd/pull/15.patch"},"body":"I had a config name t*.conf, which was then after ssl.conf provided by the mod_ssl package. Unfortunately the load order make the defaut vhost in ssl.conf override the one I configured using this role and the browser warned me the site was using a self-signed certificate (as provided/generated by the package).\r\n\r\nSo this patch simply ensure vhost config is before any package config but still leaves room for ordering things before and in-between. Previous useless files are removed. It btw uses variables to ease reading and possible future transitions.\r\n"},"comment":{"url":"https://api.github.com/repos/OSAS/ansible-role-httpd/issues/comments/265103299","html_url":"https://github.com/OSAS/ansible-role-httpd/pull/15#issuecomment-265103299","issue_url":"https://api.github.com/repos/OSAS/ansible-role-httpd/issues/15","id":265103299,"user":{"login":"mscherer","id":230335,"avatar_url":"https://avatars.githubusercontent.com/u/230335?v=3","gravatar_id":"","url":"https://api.github.com/users/mscherer","html_url":"https://github.com/mscherer","followers_url":"https://api.github.com/users/mscherer/followers","following_url":"https://api.github.com/users/mscherer/following{/other_user}","gists_url":"https://api.github.com/users/mscherer/gists{/gist_id}","starred_url":"https://api.github.com/users/mscherer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscherer/subscriptions","organizations_url":"https://api.github.com/users/mscherer/orgs","repos_url":"https://api.github.com/users/mscherer/repos","events_url":"https://api.github.com/users/mscherer/events{/privacy}","received_events_url":"https://api.github.com/users/mscherer/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T09:34:36Z","updated_at":"2016-12-06T09:34:36Z","body":"And from https://httpd.apache.org/docs/current/vhosts/examples.html\r\n```\r\nAny use of * in a virtual host declaration will have higher precedence than _default_.\r\n```\r\n\r\nso I really ponder if the doc is wrong or something."}}
{"actor":{"display_login":"mscherer"}}