{"action":"created","comment":{"url":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/comments/58917785","id":58917785,"diff_hunk":"@@ -26,4 +28,18 @@\n       state: absent\n   with_dict: \"{{ provisioner.neutron.networks }}\"\n   when: provisioner.neutron.networks is defined\n+  register: networks\n   ignore_errors: yes\n+\n+- name: Cleanup security groups\n+  os_security_group:\n+      cloud: \"{{ provisioner.cloud | default(omit) }}\" \n+      name: \"{{ prefix }}{{ item.value.name | default(security_group_name) }}\" \n+      state: absent\n+  register: security_groups\n+  with_dict: \"{{ provisioner.neutron.security_groups }}\" ","path":"roles/openstack/neutron/tasks/cleanup.yml","position":40,"original_position":29,"commit_id":"386df16dfa83e8d72e6adcc569f29bd5092929d2","original_commit_id":"386df16dfa83e8d72e6adcc569f29bd5092929d2","user":{"login":"yfried-redhat","id":5310525,"avatar_url":"https://avatars.githubusercontent.com/u/5310525?v=3","gravatar_id":"","url":"https://api.github.com/users/yfried-redhat","html_url":"https://github.com/yfried-redhat","followers_url":"https://api.github.com/users/yfried-redhat/followers","following_url":"https://api.github.com/users/yfried-redhat/following{/other_user}","gists_url":"https://api.github.com/users/yfried-redhat/gists{/gist_id}","starred_url":"https://api.github.com/users/yfried-redhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yfried-redhat/subscriptions","organizations_url":"https://api.github.com/users/yfried-redhat/orgs","repos_url":"https://api.github.com/users/yfried-redhat/repos","events_url":"https://api.github.com/users/yfried-redhat/events{/privacy}","received_events_url":"https://api.github.com/users/yfried-redhat/received_events","type":"User","site_admin":false},"body":"This needs to be commented out until 2.1, and the same `ignore_errors` flag","created_at":"2016-04-07T18:07:18Z","updated_at":"2016-04-07T18:07:18Z","html_url":"https://github.com/rhosqeauto/InfraRed/pull/124#discussion_r58917785","pull_request_url":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/124","_links":{"self":{"href":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/comments/58917785"},"html":{"href":"https://github.com/rhosqeauto/InfraRed/pull/124#discussion_r58917785"},"pull_request":{"href":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/124"}}},"pull_request":{"url":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/124","id":63580540,"html_url":"https://github.com/rhosqeauto/InfraRed/pull/124","diff_url":"https://github.com/rhosqeauto/InfraRed/pull/124.diff","patch_url":"https://github.com/rhosqeauto/InfraRed/pull/124.patch","issue_url":"https://api.github.com/repos/rhosqeauto/InfraRed/issues/124","number":124,"state":"open","locked":false,"title":" RHOSINFRA-52 Add 'openstack' provisioner","user":{"login":"bregman-arie","id":10349437,"avatar_url":"https://avatars.githubusercontent.com/u/10349437?v=3","gravatar_id":"","url":"https://api.github.com/users/bregman-arie","html_url":"https://github.com/bregman-arie","followers_url":"https://api.github.com/users/bregman-arie/followers","following_url":"https://api.github.com/users/bregman-arie/following{/other_user}","gists_url":"https://api.github.com/users/bregman-arie/gists{/gist_id}","starred_url":"https://api.github.com/users/bregman-arie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bregman-arie/subscriptions","organizations_url":"https://api.github.com/users/bregman-arie/orgs","repos_url":"https://api.github.com/users/bregman-arie/repos","events_url":"https://api.github.com/users/bregman-arie/events{/privacy}","received_events_url":"https://api.github.com/users/bregman-arie/received_events","type":"User","site_admin":false},"body":"Added OpenStack provisioner.\r\n\r\nIt is used for creating and/or removing resources on OpenStack clouds.\r\n\r\nIncludes:\r\n\r\n* provision networks\r\n    - Allows to specify if network is shared\r\n    - Allows to specify timeout for network\r\n* provisiom subnets\r\n    - Allows to specify cidr, dns servers, allocation pool\r\n      and whether DHCP should be enabled\r\n* provision routers\r\n    - Allows to attach network interfaces\r\n    - Allows to specify default gateway\r\n* provision instances\r\n    - Allows to specify config_drive, nics, image and flavor\r\n* provision flavors\r\n    - Allows to specify ram, disk and vcpus\r\n* provision floating IPs\r\n    - Allows to reuse existing floating IPs\r\n    - Allows to specify fixed IP address\r\n\r\nThe style is based on:\r\n* 4 spaces\r\n* module variables are sorted alphabetically\r\n* blank line after each task","created_at":"2016-03-21T15:19:01Z","updated_at":"2016-04-07T18:07:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f37c366ee79c4950e781af2e0bda8601ddad429","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/124/commits","review_comments_url":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/124/comments","review_comment_url":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rhosqeauto/InfraRed/issues/124/comments","statuses_url":"https://api.github.com/repos/rhosqeauto/InfraRed/statuses/386df16dfa83e8d72e6adcc569f29bd5092929d2","head":{"label":"bregman-arie:openstack_provisioner","ref":"openstack_provisioner","sha":"386df16dfa83e8d72e6adcc569f29bd5092929d2","user":{"login":"bregman-arie","id":10349437,"avatar_url":"https://avatars.githubusercontent.com/u/10349437?v=3","gravatar_id":"","url":"https://api.github.com/users/bregman-arie","html_url":"https://github.com/bregman-arie","followers_url":"https://api.github.com/users/bregman-arie/followers","following_url":"https://api.github.com/users/bregman-arie/following{/other_user}","gists_url":"https://api.github.com/users/bregman-arie/gists{/gist_id}","starred_url":"https://api.github.com/users/bregman-arie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bregman-arie/subscriptions","organizations_url":"https://api.github.com/users/bregman-arie/orgs","repos_url":"https://api.github.com/users/bregman-arie/repos","events_url":"https://api.github.com/users/bregman-arie/events{/privacy}","received_events_url":"https://api.github.com/users/bregman-arie/received_events","type":"User","site_admin":false},"repo":{"id":52941045,"name":"InfraRed","full_name":"bregman-arie/InfraRed","owner":{"login":"bregman-arie","id":10349437,"avatar_url":"https://avatars.githubusercontent.com/u/10349437?v=3","gravatar_id":"","url":"https://api.github.com/users/bregman-arie","html_url":"https://github.com/bregman-arie","followers_url":"https://api.github.com/users/bregman-arie/followers","following_url":"https://api.github.com/users/bregman-arie/following{/other_user}","gists_url":"https://api.github.com/users/bregman-arie/gists{/gist_id}","starred_url":"https://api.github.com/users/bregman-arie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bregman-arie/subscriptions","organizations_url":"https://api.github.com/users/bregman-arie/orgs","repos_url":"https://api.github.com/users/bregman-arie/repos","events_url":"https://api.github.com/users/bregman-arie/events{/privacy}","received_events_url":"https://api.github.com/users/bregman-arie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bregman-arie/InfraRed","description":"","fork":true,"url":"https://api.github.com/repos/bregman-arie/InfraRed","forks_url":"https://api.github.com/repos/bregman-arie/InfraRed/forks","keys_url":"https://api.github.com/repos/bregman-arie/InfraRed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bregman-arie/InfraRed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bregman-arie/InfraRed/teams","hooks_url":"https://api.github.com/repos/bregman-arie/InfraRed/hooks","issue_events_url":"https://api.github.com/repos/bregman-arie/InfraRed/issues/events{/number}","events_url":"https://api.github.com/repos/bregman-arie/InfraRed/events","assignees_url":"https://api.github.com/repos/bregman-arie/InfraRed/assignees{/user}","branches_url":"https://api.github.com/repos/bregman-arie/InfraRed/branches{/branch}","tags_url":"https://api.github.com/repos/bregman-arie/InfraRed/tags","blobs_url":"https://api.github.com/repos/bregman-arie/InfraRed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bregman-arie/InfraRed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bregman-arie/InfraRed/git/refs{/sha}","trees_url":"https://api.github.com/repos/bregman-arie/InfraRed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bregman-arie/InfraRed/statuses/{sha}","languages_url":"https://api.github.com/repos/bregman-arie/InfraRed/languages","stargazers_url":"https://api.github.com/repos/bregman-arie/InfraRed/stargazers","contributors_url":"https://api.github.com/repos/bregman-arie/InfraRed/contributors","subscribers_url":"https://api.github.com/repos/bregman-arie/InfraRed/subscribers","subscription_url":"https://api.github.com/repos/bregman-arie/InfraRed/subscription","commits_url":"https://api.github.com/repos/bregman-arie/InfraRed/commits{/sha}","git_commits_url":"https://api.github.com/repos/bregman-arie/InfraRed/git/commits{/sha}","comments_url":"https://api.github.com/repos/bregman-arie/InfraRed/comments{/number}","issue_comment_url":"https://api.github.com/repos/bregman-arie/InfraRed/issues/comments{/number}","contents_url":"https://api.github.com/repos/bregman-arie/InfraRed/contents/{+path}","compare_url":"https://api.github.com/repos/bregman-arie/InfraRed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bregman-arie/InfraRed/merges","archive_url":"https://api.github.com/repos/bregman-arie/InfraRed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bregman-arie/InfraRed/downloads","issues_url":"https://api.github.com/repos/bregman-arie/InfraRed/issues{/number}","pulls_url":"https://api.github.com/repos/bregman-arie/InfraRed/pulls{/number}","milestones_url":"https://api.github.com/repos/bregman-arie/InfraRed/milestones{/number}","notifications_url":"https://api.github.com/repos/bregman-arie/InfraRed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bregman-arie/InfraRed/labels{/name}","releases_url":"https://api.github.com/repos/bregman-arie/InfraRed/releases{/id}","deployments_url":"https://api.github.com/repos/bregman-arie/InfraRed/deployments","created_at":"2016-03-02T06:54:42Z","updated_at":"2016-03-02T06:54:43Z","pushed_at":"2016-04-07T16:03:52Z","git_url":"git://github.com/bregman-arie/InfraRed.git","ssh_url":"git@github.com:bregman-arie/InfraRed.git","clone_url":"https://github.com/bregman-arie/InfraRed.git","svn_url":"https://github.com/bregman-arie/InfraRed","homepage":null,"size":510,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"rhosqeauto:master","ref":"master","sha":"c4094d4eecc8e7a262b46da14e359c034a5f559b","user":{"login":"rhosqeauto","id":17139118,"avatar_url":"https://avatars.githubusercontent.com/u/17139118?v=3","gravatar_id":"","url":"https://api.github.com/users/rhosqeauto","html_url":"https://github.com/rhosqeauto","followers_url":"https://api.github.com/users/rhosqeauto/followers","following_url":"https://api.github.com/users/rhosqeauto/following{/other_user}","gists_url":"https://api.github.com/users/rhosqeauto/gists{/gist_id}","starred_url":"https://api.github.com/users/rhosqeauto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhosqeauto/subscriptions","organizations_url":"https://api.github.com/users/rhosqeauto/orgs","repos_url":"https://api.github.com/users/rhosqeauto/repos","events_url":"https://api.github.com/users/rhosqeauto/events{/privacy}","received_events_url":"https://api.github.com/users/rhosqeauto/received_events","type":"User","site_admin":false},"repo":{"id":51534449,"name":"InfraRed","full_name":"rhosqeauto/InfraRed","owner":{"login":"rhosqeauto","id":17139118,"avatar_url":"https://avatars.githubusercontent.com/u/17139118?v=3","gravatar_id":"","url":"https://api.github.com/users/rhosqeauto","html_url":"https://github.com/rhosqeauto","followers_url":"https://api.github.com/users/rhosqeauto/followers","following_url":"https://api.github.com/users/rhosqeauto/following{/other_user}","gists_url":"https://api.github.com/users/rhosqeauto/gists{/gist_id}","starred_url":"https://api.github.com/users/rhosqeauto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhosqeauto/subscriptions","organizations_url":"https://api.github.com/users/rhosqeauto/orgs","repos_url":"https://api.github.com/users/rhosqeauto/repos","events_url":"https://api.github.com/users/rhosqeauto/events{/privacy}","received_events_url":"https://api.github.com/users/rhosqeauto/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rhosqeauto/InfraRed","description":"","fork":false,"url":"https://api.github.com/repos/rhosqeauto/InfraRed","forks_url":"https://api.github.com/repos/rhosqeauto/InfraRed/forks","keys_url":"https://api.github.com/repos/rhosqeauto/InfraRed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rhosqeauto/InfraRed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rhosqeauto/InfraRed/teams","hooks_url":"https://api.github.com/repos/rhosqeauto/InfraRed/hooks","issue_events_url":"https://api.github.com/repos/rhosqeauto/InfraRed/issues/events{/number}","events_url":"https://api.github.com/repos/rhosqeauto/InfraRed/events","assignees_url":"https://api.github.com/repos/rhosqeauto/InfraRed/assignees{/user}","branches_url":"https://api.github.com/repos/rhosqeauto/InfraRed/branches{/branch}","tags_url":"https://api.github.com/repos/rhosqeauto/InfraRed/tags","blobs_url":"https://api.github.com/repos/rhosqeauto/InfraRed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rhosqeauto/InfraRed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rhosqeauto/InfraRed/git/refs{/sha}","trees_url":"https://api.github.com/repos/rhosqeauto/InfraRed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rhosqeauto/InfraRed/statuses/{sha}","languages_url":"https://api.github.com/repos/rhosqeauto/InfraRed/languages","stargazers_url":"https://api.github.com/repos/rhosqeauto/InfraRed/stargazers","contributors_url":"https://api.github.com/repos/rhosqeauto/InfraRed/contributors","subscribers_url":"https://api.github.com/repos/rhosqeauto/InfraRed/subscribers","subscription_url":"https://api.github.com/repos/rhosqeauto/InfraRed/subscription","commits_url":"https://api.github.com/repos/rhosqeauto/InfraRed/commits{/sha}","git_commits_url":"https://api.github.com/repos/rhosqeauto/InfraRed/git/commits{/sha}","comments_url":"https://api.github.com/repos/rhosqeauto/InfraRed/comments{/number}","issue_comment_url":"https://api.github.com/repos/rhosqeauto/InfraRed/issues/comments{/number}","contents_url":"https://api.github.com/repos/rhosqeauto/InfraRed/contents/{+path}","compare_url":"https://api.github.com/repos/rhosqeauto/InfraRed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rhosqeauto/InfraRed/merges","archive_url":"https://api.github.com/repos/rhosqeauto/InfraRed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rhosqeauto/InfraRed/downloads","issues_url":"https://api.github.com/repos/rhosqeauto/InfraRed/issues{/number}","pulls_url":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls{/number}","milestones_url":"https://api.github.com/repos/rhosqeauto/InfraRed/milestones{/number}","notifications_url":"https://api.github.com/repos/rhosqeauto/InfraRed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rhosqeauto/InfraRed/labels{/name}","releases_url":"https://api.github.com/repos/rhosqeauto/InfraRed/releases{/id}","deployments_url":"https://api.github.com/repos/rhosqeauto/InfraRed/deployments","created_at":"2016-02-11T17:58:00Z","updated_at":"2016-02-22T09:52:34Z","pushed_at":"2016-04-07T17:14:01Z","git_url":"git://github.com/rhosqeauto/InfraRed.git","ssh_url":"git@github.com:rhosqeauto/InfraRed.git","clone_url":"https://github.com/rhosqeauto/InfraRed.git","svn_url":"https://github.com/rhosqeauto/InfraRed","homepage":null,"size":658,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":24,"forks":11,"open_issues":24,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/124"},"html":{"href":"https://github.com/rhosqeauto/InfraRed/pull/124"},"issue":{"href":"https://api.github.com/repos/rhosqeauto/InfraRed/issues/124"},"comments":{"href":"https://api.github.com/repos/rhosqeauto/InfraRed/issues/124/comments"},"review_comments":{"href":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/124/comments"},"review_comment":{"href":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/124/commits"},"statuses":{"href":"https://api.github.com/repos/rhosqeauto/InfraRed/statuses/386df16dfa83e8d72e6adcc569f29bd5092929d2"}}}}