We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1b1bddc + 5b5b895 commit 5b26d04Copy full SHA for 5b26d04
tasks/abs.rb
@@ -125,7 +125,7 @@ def tear_down(node_name, inventory)
125
126
uri = URI.parse("https://#{abs_host}/api/v2/return")
127
headers = { 'X-AUTH-TOKEN' => token_from_fogfile('abs'), 'Content-Type' => 'application/json' }
128
- payload = { 'job_id' => node['job_id'],
+ payload = { 'job_id' => node['facts']['job_id'],
129
'hosts' => [{ 'hostname' => node['uri'], 'type' => node['facts']['platform'], 'engine' => 'vmpooler' }] }
130
http = Net::HTTP.new(uri.host, uri.port)
131
http.use_ssl = true
0 commit comments