{"action":"created","comment":{"url":"https://api.github.com/repos/edx/configuration/pulls/comments/47890737","id":47890737,"diff_hunk":"@@ -0,0 +1,144 @@\n+---\n+#\n+# edX Configuration\n+#\n+# github:     https://github.com/edx/configuration\n+# wiki:       https://github.com/edx/configuration/wiki\n+# code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions\n+# license:    https://github.com/edx/configuration/blob/master/LICENSE.TXT\n+#\n+##\n+# Defaults for role credentials\n+# \n+CREDENTIALS_GIT_IDENTITY: !!null\n+\n+# depends upon Newrelic being enabled via COMMON_ENABLE_NEWRELIC\n+# and a key being provided via NEWRELIC_LICENSE_KEY\n+CREDENTIALS_NEWRELIC_APPNAME: \"{{ COMMON_ENVIRONMENT }}-{{ COMMON_DEPLOYMENT }}-{{ credentials_service_name }}\"\n+CREDENTIALS_PIP_EXTRA_ARGS: \"-i {{ COMMON_PYPI_MIRROR_URL }}\"\n+CREDENTIALS_NGINX_PORT: 18150\n+CREDENTIALS_SSL_NGINX_PORT: 48150\n+\n+CREDENTIALS_DEFAULT_DB_NAME: 'credentials'\n+CREDENTIALS_MYSQL: 'localhost'\n+# MySQL usernames are limited to 16 characters\n+CREDENTIALS_MYSQL_USER: 'credentials001'\n+CREDENTIALS_MYSQL_PASSWORD: 'password'\n+\n+CREDENTIALS_DATABASES:\n+  # rw user\n+  default:\n+    ENGINE: 'django.db.backends.mysql'\n+    NAME: '{{ CREDENTIALS_DEFAULT_DB_NAME }}'\n+    USER: '{{ CREDENTIALS_MYSQL_USER }}'\n+    PASSWORD: '{{ CREDENTIALS_MYSQL_PASSWORD }}'\n+    HOST: '{{ CREDENTIALS_MYSQL }}'\n+    PORT: '3306'\n+    ATOMIC_REQUESTS: true\n+    CONN_MAX_AGE: 60\n+\n+CREDENTIALS_DB_ADMIN_USER: 'root'\n+CREDENTIALS_DB_ADMIN_PASSWORD: ''\n+\n+CREDENTIALS_MEMCACHE: [ 'memcache' ]\n+\n+CREDENTIALS_CACHES:\n+  default:\n+    BACKEND:  'django.core.cache.backends.memcached.MemcachedCache'\n+    KEY_PREFIX: 'default'\n+    LOCATION: '{{ CREDENTIALS_MEMCACHE }}'\n+\n+CREDENTIALS_VERSION: \"master\"\n+CREDENTIALS_DJANGO_SETTINGS_MODULE: \"credentials.settings.production\"\n+CREDENTIALS_URL_ROOT: 'http://credentials:18150'","path":"playbooks/roles/credentials/defaults/main.yml","position":53,"original_position":53,"commit_id":"4d96bc24ca34dad76f7f3e279508ac3bbbb2395e","original_commit_id":"4d96bc24ca34dad76f7f3e279508ac3bbbb2395e","user":{"login":"arbabnazar","id":7621775,"avatar_url":"https://avatars.githubusercontent.com/u/7621775?v=3","gravatar_id":"","url":"https://api.github.com/users/arbabnazar","html_url":"https://github.com/arbabnazar","followers_url":"https://api.github.com/users/arbabnazar/followers","following_url":"https://api.github.com/users/arbabnazar/following{/other_user}","gists_url":"https://api.github.com/users/arbabnazar/gists{/gist_id}","starred_url":"https://api.github.com/users/arbabnazar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arbabnazar/subscriptions","organizations_url":"https://api.github.com/users/arbabnazar/orgs","repos_url":"https://api.github.com/users/arbabnazar/repos","events_url":"https://api.github.com/users/arbabnazar/events{/privacy}","received_events_url":"https://api.github.com/users/arbabnazar/received_events","type":"User","site_admin":false},"body":"please change the `credentials` to `127.0.0.1`","created_at":"2015-12-17T10:32:07Z","updated_at":"2015-12-17T10:32:07Z","html_url":"https://github.com/edx/configuration/pull/2603#discussion_r47890737","pull_request_url":"https://api.github.com/repos/edx/configuration/pulls/2603","_links":{"self":{"href":"https://api.github.com/repos/edx/configuration/pulls/comments/47890737"},"html":{"href":"https://github.com/edx/configuration/pull/2603#discussion_r47890737"},"pull_request":{"href":"https://api.github.com/repos/edx/configuration/pulls/2603"}}},"pull_request":{"url":"https://api.github.com/repos/edx/configuration/pulls/2603","id":53957898,"html_url":"https://github.com/edx/configuration/pull/2603","diff_url":"https://github.com/edx/configuration/pull/2603.diff","patch_url":"https://github.com/edx/configuration/pull/2603.patch","issue_url":"https://api.github.com/repos/edx/configuration/issues/2603","number":2603,"state":"open","locked":false,"title":"add credentials configuration role","user":{"login":"zubair-arbi","id":5072991,"avatar_url":"https://avatars.githubusercontent.com/u/5072991?v=3","gravatar_id":"","url":"https://api.github.com/users/zubair-arbi","html_url":"https://github.com/zubair-arbi","followers_url":"https://api.github.com/users/zubair-arbi/followers","following_url":"https://api.github.com/users/zubair-arbi/following{/other_user}","gists_url":"https://api.github.com/users/zubair-arbi/gists{/gist_id}","starred_url":"https://api.github.com/users/zubair-arbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zubair-arbi/subscriptions","organizations_url":"https://api.github.com/users/zubair-arbi/orgs","repos_url":"https://api.github.com/users/zubair-arbi/repos","events_url":"https://api.github.com/users/zubair-arbi/events{/privacy}","received_events_url":"https://api.github.com/users/zubair-arbi/received_events","type":"User","site_admin":false},"body":"ECOM-3181\r\n\r\nAdd the [credentials](https://github.com/edx/credentials) specific configuration. The credentials playbook role is generated from the [django-ida template](https://github.com/edx/configuration/wiki/Creating-Django-based-Independently-Deployable-Applications-%28IDAs%29).\r\n","created_at":"2015-12-17T10:21:24Z","updated_at":"2015-12-17T10:32:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b19dd01cab13dc67a733847f1bf18c06e6a19b2b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edx/configuration/pulls/2603/commits","review_comments_url":"https://api.github.com/repos/edx/configuration/pulls/2603/comments","review_comment_url":"https://api.github.com/repos/edx/configuration/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/configuration/issues/2603/comments","statuses_url":"https://api.github.com/repos/edx/configuration/statuses/4d96bc24ca34dad76f7f3e279508ac3bbbb2395e","head":{"label":"edx:zub/add-credentials-role","ref":"zub/add-credentials-role","sha":"4d96bc24ca34dad76f7f3e279508ac3bbbb2395e","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":9478219,"name":"configuration","full_name":"edx/configuration","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/configuration","description":"a simple, but flexible, way for anyone to stand up an instance of the edX platform that is fully configured and ready-to-go","fork":false,"url":"https://api.github.com/repos/edx/configuration","forks_url":"https://api.github.com/repos/edx/configuration/forks","keys_url":"https://api.github.com/repos/edx/configuration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/configuration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/configuration/teams","hooks_url":"https://api.github.com/repos/edx/configuration/hooks","issue_events_url":"https://api.github.com/repos/edx/configuration/issues/events{/number}","events_url":"https://api.github.com/repos/edx/configuration/events","assignees_url":"https://api.github.com/repos/edx/configuration/assignees{/user}","branches_url":"https://api.github.com/repos/edx/configuration/branches{/branch}","tags_url":"https://api.github.com/repos/edx/configuration/tags","blobs_url":"https://api.github.com/repos/edx/configuration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/configuration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/configuration/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/configuration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/configuration/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/configuration/languages","stargazers_url":"https://api.github.com/repos/edx/configuration/stargazers","contributors_url":"https://api.github.com/repos/edx/configuration/contributors","subscribers_url":"https://api.github.com/repos/edx/configuration/subscribers","subscription_url":"https://api.github.com/repos/edx/configuration/subscription","commits_url":"https://api.github.com/repos/edx/configuration/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/configuration/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/configuration/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/configuration/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/configuration/contents/{+path}","compare_url":"https://api.github.com/repos/edx/configuration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/configuration/merges","archive_url":"https://api.github.com/repos/edx/configuration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/configuration/downloads","issues_url":"https://api.github.com/repos/edx/configuration/issues{/number}","pulls_url":"https://api.github.com/repos/edx/configuration/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/configuration/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/configuration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/configuration/labels{/name}","releases_url":"https://api.github.com/repos/edx/configuration/releases{/id}","created_at":"2013-04-16T17:23:42Z","updated_at":"2015-12-15T18:55:33Z","pushed_at":"2015-12-17T10:21:25Z","git_url":"git://github.com/edx/configuration.git","ssh_url":"git@github.com:edx/configuration.git","clone_url":"https://github.com/edx/configuration.git","svn_url":"https://github.com/edx/configuration","homepage":"","size":10158,"stargazers_count":469,"watchers_count":469,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":431,"mirror_url":null,"open_issues_count":112,"forks":431,"open_issues":112,"watchers":469,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"dd5b848486cf2c468ceb3e93067e62749c3b0dea","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":9478219,"name":"configuration","full_name":"edx/configuration","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/configuration","description":"a simple, but flexible, way for anyone to stand up an instance of the edX platform that is fully configured and ready-to-go","fork":false,"url":"https://api.github.com/repos/edx/configuration","forks_url":"https://api.github.com/repos/edx/configuration/forks","keys_url":"https://api.github.com/repos/edx/configuration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/configuration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/configuration/teams","hooks_url":"https://api.github.com/repos/edx/configuration/hooks","issue_events_url":"https://api.github.com/repos/edx/configuration/issues/events{/number}","events_url":"https://api.github.com/repos/edx/configuration/events","assignees_url":"https://api.github.com/repos/edx/configuration/assignees{/user}","branches_url":"https://api.github.com/repos/edx/configuration/branches{/branch}","tags_url":"https://api.github.com/repos/edx/configuration/tags","blobs_url":"https://api.github.com/repos/edx/configuration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/configuration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/configuration/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/configuration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/configuration/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/configuration/languages","stargazers_url":"https://api.github.com/repos/edx/configuration/stargazers","contributors_url":"https://api.github.com/repos/edx/configuration/contributors","subscribers_url":"https://api.github.com/repos/edx/configuration/subscribers","subscription_url":"https://api.github.com/repos/edx/configuration/subscription","commits_url":"https://api.github.com/repos/edx/configuration/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/configuration/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/configuration/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/configuration/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/configuration/contents/{+path}","compare_url":"https://api.github.com/repos/edx/configuration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/configuration/merges","archive_url":"https://api.github.com/repos/edx/configuration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/configuration/downloads","issues_url":"https://api.github.com/repos/edx/configuration/issues{/number}","pulls_url":"https://api.github.com/repos/edx/configuration/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/configuration/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/configuration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/configuration/labels{/name}","releases_url":"https://api.github.com/repos/edx/configuration/releases{/id}","created_at":"2013-04-16T17:23:42Z","updated_at":"2015-12-15T18:55:33Z","pushed_at":"2015-12-17T10:21:25Z","git_url":"git://github.com/edx/configuration.git","ssh_url":"git@github.com:edx/configuration.git","clone_url":"https://github.com/edx/configuration.git","svn_url":"https://github.com/edx/configuration","homepage":"","size":10158,"stargazers_count":469,"watchers_count":469,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":431,"mirror_url":null,"open_issues_count":112,"forks":431,"open_issues":112,"watchers":469,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/configuration/pulls/2603"},"html":{"href":"https://github.com/edx/configuration/pull/2603"},"issue":{"href":"https://api.github.com/repos/edx/configuration/issues/2603"},"comments":{"href":"https://api.github.com/repos/edx/configuration/issues/2603/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/configuration/pulls/2603/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/configuration/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/configuration/pulls/2603/commits"},"statuses":{"href":"https://api.github.com/repos/edx/configuration/statuses/4d96bc24ca34dad76f7f3e279508ac3bbbb2395e"}}}}