venom icon indicating copy to clipboard operation
venom copied to clipboard

bug : variable assignment in an executor

Open fokion opened this issue 2 years ago • 0 comments

Lets say you have an executor and you want to localise the scope of a variable as you may want to reuse it somewhere else without the prefix .input.

The assumption is that the following step should work but it does not

  - name: "localise variable user"
    vars:
      user.uuid:
        from: '{{.input.user.uuid}}'

On the other hand its working properly

  - name: "localise variable user"
    script: |
      echo "{{.input.user.uuid}}"
    vars:
      user.uuid:
        from: result.systemout

fokion avatar Apr 22 '23 16:04 fokion