Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug : variable assignment in an executor #659

Closed
fokion opened this issue Apr 22, 2023 · 1 comment
Closed

bug : variable assignment in an executor #659

fokion opened this issue Apr 22, 2023 · 1 comment
Labels

Comments

@fokion
Copy link
Contributor

fokion commented Apr 22, 2023

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
@yesnault
Copy link
Member

same as #777

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants