Skip to content

encode in dotnet dcode in ansible example? #3

@roadfox

Description

@roadfox

Is there an example of how to decode a var in ansible decoded with this library.
i get an host inventory with a var containing a decoded string from this library, no matter what i try i am not able to decode it in ansible

what i try is something like this

- name: debug vault var
  vars:
    _vault: !vault {{ vaulted_var_from_inv }}
  debug:
    var: _vault

but i cannot get it to work, any hints?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions