On Mon, 21 Oct 2019 09:34:22 -0700 (PDT)
Stephen Feyrer <[email protected]> wrote:

> vault_password: abc(123
> tasks:
>  - name: my-script
>    script: My-Script.ps1 -secret {{ vault_password }}
> 
> (Missing closing ')' in expression.:String) []

Use "quote" filter
https://docs.ansible.com/ansible/devel/user_guide/playbooks_filters.html#id8

    - name: my-script
      script: My-Script.ps1 -secret {{ vault_password|quote }}

Cheers,

        -vlado

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20191021195135.58dac47e%40gmail.com.

Attachment: pgpjHoi4XXOmZ.pgp
Description: OpenPGP digital signature

Reply via email to