{"action":"created","comment":{"url":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/comments/59135567","id":59135567,"diff_hunk":"@@ -0,0 +1,36 @@\n+- name: Set scaler variables\n+  set_fact:\n+    scale_service={{ item.key }}\n+    scale_amount={{ item.value }}\n+  when: (item.key == \"ceph-storage\") or","path":"roles/installer/ospd/overcloud/scale/tasks/main.yaml","position":5,"original_position":5,"commit_id":"5dfc764089d780d93648fbf0739bebeda0b6206c","original_commit_id":"5dfc764089d780d93648fbf0739bebeda0b6206c","user":{"login":"ovorobio","id":17978303,"avatar_url":"https://avatars.githubusercontent.com/u/17978303?v=3","gravatar_id":"","url":"https://api.github.com/users/ovorobio","html_url":"https://github.com/ovorobio","followers_url":"https://api.github.com/users/ovorobio/followers","following_url":"https://api.github.com/users/ovorobio/following{/other_user}","gists_url":"https://api.github.com/users/ovorobio/gists{/gist_id}","starred_url":"https://api.github.com/users/ovorobio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ovorobio/subscriptions","organizations_url":"https://api.github.com/users/ovorobio/orgs","repos_url":"https://api.github.com/users/ovorobio/repos","events_url":"https://api.github.com/users/ovorobio/events{/privacy}","received_events_url":"https://api.github.com/users/ovorobio/received_events","type":"User","site_admin":false},"body":"yes,I was trying to implement logic from this comment :\r\n- {role: installer/ospd/overcloud/scale, compute=1} \r\n- {role: installer/ospd/overcloud/scale, compute=2} \r\nand parse variable name 'compute' from hostvars, and \"when\" is not needed when call role like that:\r\n- {role: installer/ospd/overcloud/scale, scale_service:  'compute',  scale_amount: 1} \r\n","created_at":"2016-04-10T15:05:56Z","updated_at":"2016-04-10T15:05:56Z","html_url":"https://github.com/rhosqeauto/InfraRed/pull/146#discussion_r59135567","pull_request_url":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/146","_links":{"self":{"href":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/comments/59135567"},"html":{"href":"https://github.com/rhosqeauto/InfraRed/pull/146#discussion_r59135567"},"pull_request":{"href":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/146"}}},"pull_request":{"url":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/146","id":65419616,"html_url":"https://github.com/rhosqeauto/InfraRed/pull/146","diff_url":"https://github.com/rhosqeauto/InfraRed/pull/146.diff","patch_url":"https://github.com/rhosqeauto/InfraRed/pull/146.patch","issue_url":"https://api.github.com/repos/rhosqeauto/InfraRed/issues/146","number":146,"state":"open","locked":false,"title":"[RHOSINFRA-102] - Scaling down compute nodes.","user":{"login":"ovorobio","id":17978303,"avatar_url":"https://avatars.githubusercontent.com/u/17978303?v=3","gravatar_id":"","url":"https://api.github.com/users/ovorobio","html_url":"https://github.com/ovorobio","followers_url":"https://api.github.com/users/ovorobio/followers","following_url":"https://api.github.com/users/ovorobio/following{/other_user}","gists_url":"https://api.github.com/users/ovorobio/gists{/gist_id}","starred_url":"https://api.github.com/users/ovorobio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ovorobio/subscriptions","organizations_url":"https://api.github.com/users/ovorobio/orgs","repos_url":"https://api.github.com/users/ovorobio/repos","events_url":"https://api.github.com/users/ovorobio/events{/privacy}","received_events_url":"https://api.github.com/users/ovorobio/received_events","type":"User","site_admin":false},"body":"Initial commit","created_at":"2016-04-06T07:12:45Z","updated_at":"2016-04-10T15:05:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2abdb444eb92034a1502f9be5e85d105548ef9b2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/146/commits","review_comments_url":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/146/comments","review_comment_url":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rhosqeauto/InfraRed/issues/146/comments","statuses_url":"https://api.github.com/repos/rhosqeauto/InfraRed/statuses/5dfc764089d780d93648fbf0739bebeda0b6206c","head":{"label":"ovorobio:RHOSINFRA-102","ref":"RHOSINFRA-102","sha":"5dfc764089d780d93648fbf0739bebeda0b6206c","user":{"login":"ovorobio","id":17978303,"avatar_url":"https://avatars.githubusercontent.com/u/17978303?v=3","gravatar_id":"","url":"https://api.github.com/users/ovorobio","html_url":"https://github.com/ovorobio","followers_url":"https://api.github.com/users/ovorobio/followers","following_url":"https://api.github.com/users/ovorobio/following{/other_user}","gists_url":"https://api.github.com/users/ovorobio/gists{/gist_id}","starred_url":"https://api.github.com/users/ovorobio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ovorobio/subscriptions","organizations_url":"https://api.github.com/users/ovorobio/orgs","repos_url":"https://api.github.com/users/ovorobio/repos","events_url":"https://api.github.com/users/ovorobio/events{/privacy}","received_events_url":"https://api.github.com/users/ovorobio/received_events","type":"User","site_admin":false},"repo":{"id":54893044,"name":"InfraRed","full_name":"ovorobio/InfraRed","owner":{"login":"ovorobio","id":17978303,"avatar_url":"https://avatars.githubusercontent.com/u/17978303?v=3","gravatar_id":"","url":"https://api.github.com/users/ovorobio","html_url":"https://github.com/ovorobio","followers_url":"https://api.github.com/users/ovorobio/followers","following_url":"https://api.github.com/users/ovorobio/following{/other_user}","gists_url":"https://api.github.com/users/ovorobio/gists{/gist_id}","starred_url":"https://api.github.com/users/ovorobio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ovorobio/subscriptions","organizations_url":"https://api.github.com/users/ovorobio/orgs","repos_url":"https://api.github.com/users/ovorobio/repos","events_url":"https://api.github.com/users/ovorobio/events{/privacy}","received_events_url":"https://api.github.com/users/ovorobio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ovorobio/InfraRed","description":"","fork":true,"url":"https://api.github.com/repos/ovorobio/InfraRed","forks_url":"https://api.github.com/repos/ovorobio/InfraRed/forks","keys_url":"https://api.github.com/repos/ovorobio/InfraRed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ovorobio/InfraRed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ovorobio/InfraRed/teams","hooks_url":"https://api.github.com/repos/ovorobio/InfraRed/hooks","issue_events_url":"https://api.github.com/repos/ovorobio/InfraRed/issues/events{/number}","events_url":"https://api.github.com/repos/ovorobio/InfraRed/events","assignees_url":"https://api.github.com/repos/ovorobio/InfraRed/assignees{/user}","branches_url":"https://api.github.com/repos/ovorobio/InfraRed/branches{/branch}","tags_url":"https://api.github.com/repos/ovorobio/InfraRed/tags","blobs_url":"https://api.github.com/repos/ovorobio/InfraRed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ovorobio/InfraRed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ovorobio/InfraRed/git/refs{/sha}","trees_url":"https://api.github.com/repos/ovorobio/InfraRed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ovorobio/InfraRed/statuses/{sha}","languages_url":"https://api.github.com/repos/ovorobio/InfraRed/languages","stargazers_url":"https://api.github.com/repos/ovorobio/InfraRed/stargazers","contributors_url":"https://api.github.com/repos/ovorobio/InfraRed/contributors","subscribers_url":"https://api.github.com/repos/ovorobio/InfraRed/subscribers","subscription_url":"https://api.github.com/repos/ovorobio/InfraRed/subscription","commits_url":"https://api.github.com/repos/ovorobio/InfraRed/commits{/sha}","git_commits_url":"https://api.github.com/repos/ovorobio/InfraRed/git/commits{/sha}","comments_url":"https://api.github.com/repos/ovorobio/InfraRed/comments{/number}","issue_comment_url":"https://api.github.com/repos/ovorobio/InfraRed/issues/comments{/number}","contents_url":"https://api.github.com/repos/ovorobio/InfraRed/contents/{+path}","compare_url":"https://api.github.com/repos/ovorobio/InfraRed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ovorobio/InfraRed/merges","archive_url":"https://api.github.com/repos/ovorobio/InfraRed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ovorobio/InfraRed/downloads","issues_url":"https://api.github.com/repos/ovorobio/InfraRed/issues{/number}","pulls_url":"https://api.github.com/repos/ovorobio/InfraRed/pulls{/number}","milestones_url":"https://api.github.com/repos/ovorobio/InfraRed/milestones{/number}","notifications_url":"https://api.github.com/repos/ovorobio/InfraRed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ovorobio/InfraRed/labels{/name}","releases_url":"https://api.github.com/repos/ovorobio/InfraRed/releases{/id}","deployments_url":"https://api.github.com/repos/ovorobio/InfraRed/deployments","created_at":"2016-03-28T13:11:21Z","updated_at":"2016-03-28T13:11:22Z","pushed_at":"2016-04-10T14:08:20Z","git_url":"git://github.com/ovorobio/InfraRed.git","ssh_url":"git@github.com:ovorobio/InfraRed.git","clone_url":"https://github.com/ovorobio/InfraRed.git","svn_url":"https://github.com/ovorobio/InfraRed","homepage":null,"size":546,"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-10T14:08:20Z","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":679,"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/146"},"html":{"href":"https://github.com/rhosqeauto/InfraRed/pull/146"},"issue":{"href":"https://api.github.com/repos/rhosqeauto/InfraRed/issues/146"},"comments":{"href":"https://api.github.com/repos/rhosqeauto/InfraRed/issues/146/comments"},"review_comments":{"href":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/146/comments"},"review_comment":{"href":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rhosqeauto/InfraRed/pulls/146/commits"},"statuses":{"href":"https://api.github.com/repos/rhosqeauto/InfraRed/statuses/5dfc764089d780d93648fbf0739bebeda0b6206c"}}}}