doc: refine zuul_return instruction

The zuul_return task needs to be executed on the executor node,
otherwise it fails with KeyError: 'ZUUL_JOBDIR'

Change-Id: Ib02648f40b1602c85b8c70ee0965f0fde2d227fe
This commit is contained in:
Tristan Cacqueray 2017-12-13 08:51:58 +00:00
parent 83f504c966
commit ff47ff04c2
1 changed files with 2 additions and 1 deletions

View File

@ -540,7 +540,8 @@ Return Values
A job may return some values to Zuul to affect its behavior and for
use by other jobs.. To return a value, use the ``zuul_return``
Ansible module in a job playbook. For example:
Ansible module in a job playbook running on the executor 'localhost' node.
For example:
.. code-block:: yaml