{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/43807","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/43807/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/43807/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/43807/events","html_url":"https://github.com/ansible/ansible/pull/43807","id":348578078,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2ODk0NzI5","number":43807,"title":"Adding custom module to find pid of the process","user":{"login":"saranyasridharan","id":15728811,"node_id":"MDQ6VXNlcjE1NzI4ODEx","avatar_url":"https://avatars1.githubusercontent.com/u/15728811?v=4","gravatar_id":"","url":"https://api.github.com/users/saranyasridharan","html_url":"https://github.com/saranyasridharan","followers_url":"https://api.github.com/users/saranyasridharan/followers","following_url":"https://api.github.com/users/saranyasridharan/following{/other_user}","gists_url":"https://api.github.com/users/saranyasridharan/gists{/gist_id}","starred_url":"https://api.github.com/users/saranyasridharan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saranyasridharan/subscriptions","organizations_url":"https://api.github.com/users/saranyasridharan/orgs","repos_url":"https://api.github.com/users/saranyasridharan/repos","events_url":"https://api.github.com/users/saranyasridharan/events{/privacy}","received_events_url":"https://api.github.com/users/saranyasridharan/received_events","type":"User","site_admin":false},"labels":[{"id":947190508,"node_id":"MDU6TGFiZWw5NDcxOTA1MDg=","url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.7","name":"affects_2.7","color":"ededed","default":false},{"id":530145226,"node_id":"MDU6TGFiZWw1MzAxNDUyMjY=","url":"https://api.github.com/repos/ansible/ansible/labels/ci_verified","name":"ci_verified","color":"b60205","default":false},{"id":496359346,"node_id":"MDU6TGFiZWw0OTYzNTkzNDY=","url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":61436281,"node_id":"MDU6TGFiZWw2MTQzNjI4MQ==","url":"https://api.github.com/repos/ansible/ansible/labels/needs_revision","name":"needs_revision","color":"eb6450","default":false},{"id":723150340,"node_id":"MDU6TGFiZWw3MjMxNTAzNDA=","url":"https://api.github.com/repos/ansible/ansible/labels/new_contributor","name":"new_contributor","color":"c2e0c6","default":false},{"id":473225334,"node_id":"MDU6TGFiZWw0NzMyMjUzMzQ=","url":"https://api.github.com/repos/ansible/ansible/labels/new_module","name":"new_module","color":"c2e0c6","default":false},{"id":153577825,"node_id":"MDU6TGFiZWwxNTM1Nzc4MjU=","url":"https://api.github.com/repos/ansible/ansible/labels/new_plugin","name":"new_plugin","color":"bfe5bf","default":false},{"id":636327968,"node_id":"MDU6TGFiZWw2MzYzMjc5Njg=","url":"https://api.github.com/repos/ansible/ansible/labels/support:community","name":"support:community","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-08-08T05:16:02Z","updated_at":"2018-08-09T11:03:48Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/43807","html_url":"https://github.com/ansible/ansible/pull/43807","diff_url":"https://github.com/ansible/ansible/pull/43807.diff","patch_url":"https://github.com/ansible/ansible/pull/43807.patch"},"body":" SUMMARY\r\nThis module will find the pid of the given process name either locally or in remote system, depending on the host parameter.\r\n\r\n\r\n ISSUE TYPE\r\n\r\n - New Module Pull Request\r\n\r\n\r\nCOMPONENT NAME\r\npid\r\n\r\nANSIBLE VERSION\r\nansible 2.7.0.dev0 (devel e576acf6e4) last updated 2018/08/07 12:03:58 (GMT +550)\r\n  config file = /etc/ansible/ansible.cfg\r\n  configured module search path = [u'/home/ansible/newcode/library']\r\n  ansible python module location = /home/ansible/lib/ansible\r\n  executable location = /home/ansible/bin/ansible\r\n  python version = 2.7.5 (default, Jul 13 2018, 13:06:57) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]\r\n\r\n\r\n ADDITIONAL INFORMATION\r\nI used the ps command with awk command to grep the pid of the given process.\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/411720761","html_url":"https://github.com/ansible/ansible/pull/43807#issuecomment-411720761","issue_url":"https://api.github.com/repos/ansible/ansible/issues/43807","id":411720761,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTcyMDc2MQ==","user":{"login":"ansibot","id":6585283,"node_id":"MDQ6VXNlcjY1ODUyODM=","avatar_url":"https://avatars0.githubusercontent.com/u/6585283?v=4","gravatar_id":"","url":"https://api.github.com/users/ansibot","html_url":"https://github.com/ansibot","followers_url":"https://api.github.com/users/ansibot/followers","following_url":"https://api.github.com/users/ansibot/following{/other_user}","gists_url":"https://api.github.com/users/ansibot/gists{/gist_id}","starred_url":"https://api.github.com/users/ansibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansibot/subscriptions","organizations_url":"https://api.github.com/users/ansibot/orgs","repos_url":"https://api.github.com/users/ansibot/repos","events_url":"https://api.github.com/users/ansibot/events{/privacy}","received_events_url":"https://api.github.com/users/ansibot/received_events","type":"User","site_admin":false},"created_at":"2018-08-09T11:03:48Z","updated_at":"2018-08-09T11:03:48Z","author_association":"CONTRIBUTOR","body":"The test `ansible-test sanity --test pylint` [[explain](https://docs.ansible.com/ansible/devel/dev_guide/testing/sanity/pylint.html)] failed with 1 error:\n```\nlib/ansible/modules/system/pid.py:45:0: trailing-whitespace Trailing whitespace\n```\n<!-- job_id: 5b6c1d0992cece07004ec62c -->\n<!-- job_id: 5b6c1d0d0a9dfe080088804f -->\n<!-- job_id: /testresults/ansible-test-sanity-pylint.json -->\nThe test `ansible-test sanity --test pep8` [[explain](https://docs.ansible.com/ansible/devel/dev_guide/testing/sanity/pep8.html)] failed with 2 errors:\n```\nlib/ansible/modules/system/pid.py:38:108: E231 missing whitespace after ','\nlib/ansible/modules/system/pid.py:45:39: W291 trailing whitespace\n```\n<!-- job_id: 5b6c1d0992cece07004ec62c -->\n<!-- job_id: 5b6c1d0d0a9dfe080088804e -->\n<!-- job_id: /testresults/ansible-test-sanity-pep8.json -->\nThe test `ansible-test sanity --test validate-modules` [[explain](https://docs.ansible.com/ansible/devel/dev_guide/testing/sanity/validate-modules.html)] failed with 1 error:\n```\nlib/ansible/modules/system/pid.py:0:0: E314 No ANSIBLE_METADATA provided\n```\n<!-- job_id: 5b6c1d0992cece07004ec62c -->\n<!-- job_id: 5b6c1d0d0a9dfe080088804e -->\n<!-- job_id: /testresults/ansible-test-sanity-validate-modules.json -->\n\n[click here for bot help](https://github.com/ansible/ansibullbot/blob/master/ISSUE_HELP.md)\n<!--- boilerplate: shippable_test_result --->"}}
{"actor":{"display_login":"ansibot"}}