variable.set now returns output in the form name:value so the newly set variable is already available in the context of the task
This commit is contained in:
parent
7fd375da66
commit
9113ac0530
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class VariablePlugin(Plugin):
|
||||||
|
|
||||||
def set(self, name, value):
|
def set(self, name, value):
|
||||||
self._variables[name] = value
|
self._variables[name] = value
|
||||||
return Response(output={'status':'ok'})
|
return Response(output={name: value})
|
||||||
|
|
||||||
def unset(self, name):
|
def unset(self, name):
|
||||||
if name in self._variables:
|
if name in self._variables:
|
||||||
|
|
Loading…
Reference in a new issue