{"action":"created","comment":{"url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/pulls/comments/32912394","id":32912394,"diff_hunk":"@@ -12,16 +12,19 @@\n - include: debian.yml\n   when: ansible_os_family == 'Debian'\n \n+- include: redhat.yml\n+  when: ansible_os_family == 'RedHat'\n+\n - include: default.yml\n   when: newrelic_loaded_os_family|default(False) == False\n \n - name: Configure New Relic PHP Agent\n   template:\n     src: newrelic.ini.j2\n-    dest: /etc/php5/conf.d/newrelic.ini\n+    dest: /etc/php.d/newrelic.ini","path":"tasks/main.yml","position":null,"original_position":14,"commit_id":"6dddff7b27eb12befd6265dbf12e386a41d5cf48","original_commit_id":"44cfebd1c0b8ed2025b22adb7e3b2f3df1b23b0d","user":{"login":"praseodym","id":20283,"avatar_url":"https://avatars.githubusercontent.com/u/20283?v=3","gravatar_id":"","url":"https://api.github.com/users/praseodym","html_url":"https://github.com/praseodym","followers_url":"https://api.github.com/users/praseodym/followers","following_url":"https://api.github.com/users/praseodym/following{/other_user}","gists_url":"https://api.github.com/users/praseodym/gists{/gist_id}","starred_url":"https://api.github.com/users/praseodym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praseodym/subscriptions","organizations_url":"https://api.github.com/users/praseodym/orgs","repos_url":"https://api.github.com/users/praseodym/repos","events_url":"https://api.github.com/users/praseodym/events{/privacy}","received_events_url":"https://api.github.com/users/praseodym/received_events","type":"User","site_admin":false},"body":"Might be nice. I would suggest:\r\n```yaml\r\n- include_vars: \"{{ item }}\"\r\n  with_first_found:\r\n    - \"{{ ansible_os_family }}-{{ ansible_distribution_release }}.yml\"\r\n    - \"{{ ansible_os_family }}.yml\"\r\n    - default.yml\r\n```","created_at":"2015-06-22T08:10:39Z","updated_at":"2015-06-22T08:10:39Z","html_url":"https://github.com/praseodym/ansible-newrelic-php/pull/2#discussion_r32912394","pull_request_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/praseodym/ansible-newrelic-php/pulls/comments/32912394"},"html":{"href":"https://github.com/praseodym/ansible-newrelic-php/pull/2#discussion_r32912394"},"pull_request":{"href":"https://api.github.com/repos/praseodym/ansible-newrelic-php/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/pulls/2","id":38187682,"html_url":"https://github.com/praseodym/ansible-newrelic-php/pull/2","diff_url":"https://github.com/praseodym/ansible-newrelic-php/pull/2.diff","patch_url":"https://github.com/praseodym/ansible-newrelic-php/pull/2.patch","issue_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/issues/2","number":2,"state":"open","locked":false,"title":"Adding support for RedHat ansible_os_family","user":{"login":"robruma","id":1647923,"avatar_url":"https://avatars.githubusercontent.com/u/1647923?v=3","gravatar_id":"","url":"https://api.github.com/users/robruma","html_url":"https://github.com/robruma","followers_url":"https://api.github.com/users/robruma/followers","following_url":"https://api.github.com/users/robruma/following{/other_user}","gists_url":"https://api.github.com/users/robruma/gists{/gist_id}","starred_url":"https://api.github.com/users/robruma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robruma/subscriptions","organizations_url":"https://api.github.com/users/robruma/orgs","repos_url":"https://api.github.com/users/robruma/repos","events_url":"https://api.github.com/users/robruma/events{/privacy}","received_events_url":"https://api.github.com/users/robruma/received_events","type":"User","site_admin":false},"body":"Also added new config file paths for php55/56","created_at":"2015-06-21T17:38:26Z","updated_at":"2015-06-22T08:10:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35a7377f96f7845ac8fa4fb94f1278ab300ff345","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/pulls/2/commits","review_comments_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/pulls/2/comments","review_comment_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/pulls/comments{/number}","comments_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/issues/2/comments","statuses_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/statuses/6dddff7b27eb12befd6265dbf12e386a41d5cf48","head":{"label":"robruma:feature/redhat_support","ref":"feature/redhat_support","sha":"6dddff7b27eb12befd6265dbf12e386a41d5cf48","user":{"login":"robruma","id":1647923,"avatar_url":"https://avatars.githubusercontent.com/u/1647923?v=3","gravatar_id":"","url":"https://api.github.com/users/robruma","html_url":"https://github.com/robruma","followers_url":"https://api.github.com/users/robruma/followers","following_url":"https://api.github.com/users/robruma/following{/other_user}","gists_url":"https://api.github.com/users/robruma/gists{/gist_id}","starred_url":"https://api.github.com/users/robruma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robruma/subscriptions","organizations_url":"https://api.github.com/users/robruma/orgs","repos_url":"https://api.github.com/users/robruma/repos","events_url":"https://api.github.com/users/robruma/events{/privacy}","received_events_url":"https://api.github.com/users/robruma/received_events","type":"User","site_admin":false},"repo":{"id":37817835,"name":"ansible-newrelic-php","full_name":"robruma/ansible-newrelic-php","owner":{"login":"robruma","id":1647923,"avatar_url":"https://avatars.githubusercontent.com/u/1647923?v=3","gravatar_id":"","url":"https://api.github.com/users/robruma","html_url":"https://github.com/robruma","followers_url":"https://api.github.com/users/robruma/followers","following_url":"https://api.github.com/users/robruma/following{/other_user}","gists_url":"https://api.github.com/users/robruma/gists{/gist_id}","starred_url":"https://api.github.com/users/robruma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robruma/subscriptions","organizations_url":"https://api.github.com/users/robruma/orgs","repos_url":"https://api.github.com/users/robruma/repos","events_url":"https://api.github.com/users/robruma/events{/privacy}","received_events_url":"https://api.github.com/users/robruma/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robruma/ansible-newrelic-php","description":"Ansible role to install the New Relic PHP Agent","fork":true,"url":"https://api.github.com/repos/robruma/ansible-newrelic-php","forks_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/forks","keys_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/teams","hooks_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/hooks","issue_events_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/issues/events{/number}","events_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/events","assignees_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/assignees{/user}","branches_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/branches{/branch}","tags_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/tags","blobs_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/statuses/{sha}","languages_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/languages","stargazers_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/stargazers","contributors_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/contributors","subscribers_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/subscribers","subscription_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/subscription","commits_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/contents/{+path}","compare_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/merges","archive_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/downloads","issues_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/issues{/number}","pulls_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/pulls{/number}","milestones_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/milestones{/number}","notifications_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/labels{/name}","releases_url":"https://api.github.com/repos/robruma/ansible-newrelic-php/releases{/id}","created_at":"2015-06-21T17:14:09Z","updated_at":"2014-11-10T12:19:22Z","pushed_at":"2015-06-21T23:59:14Z","git_url":"git://github.com/robruma/ansible-newrelic-php.git","ssh_url":"git@github.com:robruma/ansible-newrelic-php.git","clone_url":"https://github.com/robruma/ansible-newrelic-php.git","svn_url":"https://github.com/robruma/ansible-newrelic-php","homepage":"","size":144,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"praseodym:master","ref":"master","sha":"4760f29e6c28523e61e09b3999178321fc7db788","user":{"login":"praseodym","id":20283,"avatar_url":"https://avatars.githubusercontent.com/u/20283?v=3","gravatar_id":"","url":"https://api.github.com/users/praseodym","html_url":"https://github.com/praseodym","followers_url":"https://api.github.com/users/praseodym/followers","following_url":"https://api.github.com/users/praseodym/following{/other_user}","gists_url":"https://api.github.com/users/praseodym/gists{/gist_id}","starred_url":"https://api.github.com/users/praseodym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praseodym/subscriptions","organizations_url":"https://api.github.com/users/praseodym/orgs","repos_url":"https://api.github.com/users/praseodym/repos","events_url":"https://api.github.com/users/praseodym/events{/privacy}","received_events_url":"https://api.github.com/users/praseodym/received_events","type":"User","site_admin":false},"repo":{"id":18192518,"name":"ansible-newrelic-php","full_name":"praseodym/ansible-newrelic-php","owner":{"login":"praseodym","id":20283,"avatar_url":"https://avatars.githubusercontent.com/u/20283?v=3","gravatar_id":"","url":"https://api.github.com/users/praseodym","html_url":"https://github.com/praseodym","followers_url":"https://api.github.com/users/praseodym/followers","following_url":"https://api.github.com/users/praseodym/following{/other_user}","gists_url":"https://api.github.com/users/praseodym/gists{/gist_id}","starred_url":"https://api.github.com/users/praseodym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praseodym/subscriptions","organizations_url":"https://api.github.com/users/praseodym/orgs","repos_url":"https://api.github.com/users/praseodym/repos","events_url":"https://api.github.com/users/praseodym/events{/privacy}","received_events_url":"https://api.github.com/users/praseodym/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/praseodym/ansible-newrelic-php","description":"Ansible role to install the New Relic PHP Agent","fork":false,"url":"https://api.github.com/repos/praseodym/ansible-newrelic-php","forks_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/forks","keys_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/teams","hooks_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/hooks","issue_events_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/issues/events{/number}","events_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/events","assignees_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/assignees{/user}","branches_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/branches{/branch}","tags_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/tags","blobs_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/statuses/{sha}","languages_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/languages","stargazers_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/stargazers","contributors_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/contributors","subscribers_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/subscribers","subscription_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/subscription","commits_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/contents/{+path}","compare_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/merges","archive_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/downloads","issues_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/issues{/number}","pulls_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/pulls{/number}","milestones_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/milestones{/number}","notifications_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/labels{/name}","releases_url":"https://api.github.com/repos/praseodym/ansible-newrelic-php/releases{/id}","created_at":"2014-03-27T21:44:24Z","updated_at":"2014-11-10T12:19:22Z","pushed_at":"2015-06-21T23:56:39Z","git_url":"git://github.com/praseodym/ansible-newrelic-php.git","ssh_url":"git@github.com:praseodym/ansible-newrelic-php.git","clone_url":"https://github.com/praseodym/ansible-newrelic-php.git","svn_url":"https://github.com/praseodym/ansible-newrelic-php","homepage":"","size":144,"stargazers_count":2,"watchers_count":2,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":1,"forks":10,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/praseodym/ansible-newrelic-php/pulls/2"},"html":{"href":"https://github.com/praseodym/ansible-newrelic-php/pull/2"},"issue":{"href":"https://api.github.com/repos/praseodym/ansible-newrelic-php/issues/2"},"comments":{"href":"https://api.github.com/repos/praseodym/ansible-newrelic-php/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/praseodym/ansible-newrelic-php/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/praseodym/ansible-newrelic-php/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/praseodym/ansible-newrelic-php/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/praseodym/ansible-newrelic-php/statuses/6dddff7b27eb12befd6265dbf12e386a41d5cf48"}}}}