{"action":"created","comment":{"url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/pulls/comments/59526055","id":59526055,"diff_hunk":"@@ -1,43 +1,30 @@\n ---      \n-#      - name: Install Zabbix Repository, zabbix and etc\n-#        yum: name=http://repo.zabbix.com/zabbix/2.4/rhel/7/x86_64/zabbix-release-2.4-1.el7.noarch.rpm state=installed\n-      - name: Install  zabbixs and etc\n-        yum: pkg={{item}} state=installed\n-        with_items:\n-          - policycoreutils-python\n-          - libselinux-python\n-          - zabbix-server\n-          - zabbix-sender\n-          - zabbix-server-mysql\n-          - zabbix-web-mysql\n-          - zabbix-agent\n-          - zabbix-java-gateway\n-          - php \n-          - python-pip\n+ - name: Install  zabbixs and etc\n+   yum: pkg={{item}} state=installed\n+   with_items:\n+     - policycoreutils-python\n+     - libselinux-python\n+     - zabbix-server\n+     - zabbix-sender\n+     - zabbix-server-mysql\n+     - zabbix-web-mysql\n+     - zabbix-agent\n+     - zabbix-java-gateway\n+     - php \n+     - python-pip\n \n-      - name: Configure zabbix server database\n-        template: src=zabbix_server.conf.j2 dest=/etc/zabbix/zabbix_server.conf\n-      - name: Configure zabbix server php\n-        template: src=zabbix.conf.php.j2 dest=/etc/zabbix/web/zabbix.conf.php\n-      - name: Configure zabbix server php for web interface zabbix\n-        template: src=zabbix.conf.j2 dest=/etc/httpd/conf.d/zabbix.conf\n-      - name: Configure SELinux \n-        seboolean: name=httpd_can_network_connect state=yes persistent=yes\n+ - name: istall pyzabbix by pip\n+   pip: name=pyzabbix state=present\n+ - name: install  zabbix-api by pip\n+   pip: name=zabbix-api state=present\n \n-      - name: restart MariaDB\n-        service: name=mariadb.service state=restarted enabled=yes\n-      - name: Restart Zabbix Server\n-        service: name=zabbix-server enabled=true state=started \n-      - name: restart apache2\n-        service: name=httpd state=restarted\n+ - name: Configure zabbix server database\n+   template: src=zabbix_server.conf.j2 dest=/etc/zabbix/zabbix_server.conf","path":"roles/zabbixserver/tasks/install.yml","position":51,"original_position":51,"commit_id":"5e264e4a27007ecbba726e409c118ea4d88456ae","original_commit_id":"5e264e4a27007ecbba726e409c118ea4d88456ae","user":{"login":"ipleten","id":6207156,"avatar_url":"https://avatars.githubusercontent.com/u/6207156?v=3","gravatar_id":"","url":"https://api.github.com/users/ipleten","html_url":"https://github.com/ipleten","followers_url":"https://api.github.com/users/ipleten/followers","following_url":"https://api.github.com/users/ipleten/following{/other_user}","gists_url":"https://api.github.com/users/ipleten/gists{/gist_id}","starred_url":"https://api.github.com/users/ipleten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipleten/subscriptions","organizations_url":"https://api.github.com/users/ipleten/orgs","repos_url":"https://api.github.com/users/ipleten/repos","events_url":"https://api.github.com/users/ipleten/events{/privacy}","received_events_url":"https://api.github.com/users/ipleten/received_events","type":"User","site_admin":false},"body":"Где хендлеры","created_at":"2016-04-13T10:28:33Z","updated_at":"2016-04-13T10:28:33Z","html_url":"https://github.com/IF-061-DevOps/OMS-ansible/pull/85#discussion_r59526055","pull_request_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/pulls/85","_links":{"self":{"href":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/pulls/comments/59526055"},"html":{"href":"https://github.com/IF-061-DevOps/OMS-ansible/pull/85#discussion_r59526055"},"pull_request":{"href":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/pulls/85"}}},"pull_request":{"url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/pulls/85","id":66295772,"html_url":"https://github.com/IF-061-DevOps/OMS-ansible/pull/85","diff_url":"https://github.com/IF-061-DevOps/OMS-ansible/pull/85.diff","patch_url":"https://github.com/IF-061-DevOps/OMS-ansible/pull/85.patch","issue_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/issues/85","number":85,"state":"open","locked":false,"title":"Test14","user":{"login":"palexxx","id":13065928,"avatar_url":"https://avatars.githubusercontent.com/u/13065928?v=3","gravatar_id":"","url":"https://api.github.com/users/palexxx","html_url":"https://github.com/palexxx","followers_url":"https://api.github.com/users/palexxx/followers","following_url":"https://api.github.com/users/palexxx/following{/other_user}","gists_url":"https://api.github.com/users/palexxx/gists{/gist_id}","starred_url":"https://api.github.com/users/palexxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palexxx/subscriptions","organizations_url":"https://api.github.com/users/palexxx/orgs","repos_url":"https://api.github.com/users/palexxx/repos","events_url":"https://api.github.com/users/palexxx/events{/privacy}","received_events_url":"https://api.github.com/users/palexxx/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-13T10:07:47Z","updated_at":"2016-04-13T10:28:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/pulls/85/commits","review_comments_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/pulls/85/comments","review_comment_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/issues/85/comments","statuses_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/statuses/5e264e4a27007ecbba726e409c118ea4d88456ae","head":{"label":"palexxx:test14","ref":"test14","sha":"5e264e4a27007ecbba726e409c118ea4d88456ae","user":{"login":"palexxx","id":13065928,"avatar_url":"https://avatars.githubusercontent.com/u/13065928?v=3","gravatar_id":"","url":"https://api.github.com/users/palexxx","html_url":"https://github.com/palexxx","followers_url":"https://api.github.com/users/palexxx/followers","following_url":"https://api.github.com/users/palexxx/following{/other_user}","gists_url":"https://api.github.com/users/palexxx/gists{/gist_id}","starred_url":"https://api.github.com/users/palexxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palexxx/subscriptions","organizations_url":"https://api.github.com/users/palexxx/orgs","repos_url":"https://api.github.com/users/palexxx/repos","events_url":"https://api.github.com/users/palexxx/events{/privacy}","received_events_url":"https://api.github.com/users/palexxx/received_events","type":"User","site_admin":false},"repo":{"id":54272837,"name":"OMS-ansible","full_name":"palexxx/OMS-ansible","owner":{"login":"palexxx","id":13065928,"avatar_url":"https://avatars.githubusercontent.com/u/13065928?v=3","gravatar_id":"","url":"https://api.github.com/users/palexxx","html_url":"https://github.com/palexxx","followers_url":"https://api.github.com/users/palexxx/followers","following_url":"https://api.github.com/users/palexxx/following{/other_user}","gists_url":"https://api.github.com/users/palexxx/gists{/gist_id}","starred_url":"https://api.github.com/users/palexxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palexxx/subscriptions","organizations_url":"https://api.github.com/users/palexxx/orgs","repos_url":"https://api.github.com/users/palexxx/repos","events_url":"https://api.github.com/users/palexxx/events{/privacy}","received_events_url":"https://api.github.com/users/palexxx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/palexxx/OMS-ansible","description":"Ansible configuration in OMS infrastructure","fork":true,"url":"https://api.github.com/repos/palexxx/OMS-ansible","forks_url":"https://api.github.com/repos/palexxx/OMS-ansible/forks","keys_url":"https://api.github.com/repos/palexxx/OMS-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/palexxx/OMS-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/palexxx/OMS-ansible/teams","hooks_url":"https://api.github.com/repos/palexxx/OMS-ansible/hooks","issue_events_url":"https://api.github.com/repos/palexxx/OMS-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/palexxx/OMS-ansible/events","assignees_url":"https://api.github.com/repos/palexxx/OMS-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/palexxx/OMS-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/palexxx/OMS-ansible/tags","blobs_url":"https://api.github.com/repos/palexxx/OMS-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/palexxx/OMS-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/palexxx/OMS-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/palexxx/OMS-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/palexxx/OMS-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/palexxx/OMS-ansible/languages","stargazers_url":"https://api.github.com/repos/palexxx/OMS-ansible/stargazers","contributors_url":"https://api.github.com/repos/palexxx/OMS-ansible/contributors","subscribers_url":"https://api.github.com/repos/palexxx/OMS-ansible/subscribers","subscription_url":"https://api.github.com/repos/palexxx/OMS-ansible/subscription","commits_url":"https://api.github.com/repos/palexxx/OMS-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/palexxx/OMS-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/palexxx/OMS-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/palexxx/OMS-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/palexxx/OMS-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/palexxx/OMS-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/palexxx/OMS-ansible/merges","archive_url":"https://api.github.com/repos/palexxx/OMS-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/palexxx/OMS-ansible/downloads","issues_url":"https://api.github.com/repos/palexxx/OMS-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/palexxx/OMS-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/palexxx/OMS-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/palexxx/OMS-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/palexxx/OMS-ansible/labels{/name}","releases_url":"https://api.github.com/repos/palexxx/OMS-ansible/releases{/id}","deployments_url":"https://api.github.com/repos/palexxx/OMS-ansible/deployments","created_at":"2016-03-19T15:28:21Z","updated_at":"2016-03-28T11:01:42Z","pushed_at":"2016-04-13T10:05:33Z","git_url":"git://github.com/palexxx/OMS-ansible.git","ssh_url":"git@github.com:palexxx/OMS-ansible.git","clone_url":"https://github.com/palexxx/OMS-ansible.git","svn_url":"https://github.com/palexxx/OMS-ansible","homepage":null,"size":12159,"stargazers_count":0,"watchers_count":0,"language":"SQLPL","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":"IF-061-DevOps:master","ref":"master","sha":"9b147d2f5f4522e96e47a5c1fb48f2639e03d880","user":{"login":"IF-061-DevOps","id":16941968,"avatar_url":"https://avatars.githubusercontent.com/u/16941968?v=3","gravatar_id":"","url":"https://api.github.com/users/IF-061-DevOps","html_url":"https://github.com/IF-061-DevOps","followers_url":"https://api.github.com/users/IF-061-DevOps/followers","following_url":"https://api.github.com/users/IF-061-DevOps/following{/other_user}","gists_url":"https://api.github.com/users/IF-061-DevOps/gists{/gist_id}","starred_url":"https://api.github.com/users/IF-061-DevOps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IF-061-DevOps/subscriptions","organizations_url":"https://api.github.com/users/IF-061-DevOps/orgs","repos_url":"https://api.github.com/users/IF-061-DevOps/repos","events_url":"https://api.github.com/users/IF-061-DevOps/events{/privacy}","received_events_url":"https://api.github.com/users/IF-061-DevOps/received_events","type":"Organization","site_admin":false},"repo":{"id":51405156,"name":"OMS-ansible","full_name":"IF-061-DevOps/OMS-ansible","owner":{"login":"IF-061-DevOps","id":16941968,"avatar_url":"https://avatars.githubusercontent.com/u/16941968?v=3","gravatar_id":"","url":"https://api.github.com/users/IF-061-DevOps","html_url":"https://github.com/IF-061-DevOps","followers_url":"https://api.github.com/users/IF-061-DevOps/followers","following_url":"https://api.github.com/users/IF-061-DevOps/following{/other_user}","gists_url":"https://api.github.com/users/IF-061-DevOps/gists{/gist_id}","starred_url":"https://api.github.com/users/IF-061-DevOps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IF-061-DevOps/subscriptions","organizations_url":"https://api.github.com/users/IF-061-DevOps/orgs","repos_url":"https://api.github.com/users/IF-061-DevOps/repos","events_url":"https://api.github.com/users/IF-061-DevOps/events{/privacy}","received_events_url":"https://api.github.com/users/IF-061-DevOps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IF-061-DevOps/OMS-ansible","description":"Ansible configuration in OMS infrastructure","fork":false,"url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible","forks_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/forks","keys_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/teams","hooks_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/hooks","issue_events_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/events","assignees_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/tags","blobs_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/languages","stargazers_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/stargazers","contributors_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/contributors","subscribers_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/subscribers","subscription_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/subscription","commits_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/merges","archive_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/downloads","issues_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/labels{/name}","releases_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/releases{/id}","deployments_url":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/deployments","created_at":"2016-02-09T22:28:32Z","updated_at":"2016-04-06T12:50:32Z","pushed_at":"2016-04-13T10:07:47Z","git_url":"git://github.com/IF-061-DevOps/OMS-ansible.git","ssh_url":"git@github.com:IF-061-DevOps/OMS-ansible.git","clone_url":"https://github.com/IF-061-DevOps/OMS-ansible.git","svn_url":"https://github.com/IF-061-DevOps/OMS-ansible","homepage":null,"size":21794,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/pulls/85"},"html":{"href":"https://github.com/IF-061-DevOps/OMS-ansible/pull/85"},"issue":{"href":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/issues/85"},"comments":{"href":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/issues/85/comments"},"review_comments":{"href":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/pulls/85/comments"},"review_comment":{"href":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/pulls/85/commits"},"statuses":{"href":"https://api.github.com/repos/IF-061-DevOps/OMS-ansible/statuses/5e264e4a27007ecbba726e409c118ea4d88456ae"}}}}