Hi there,

I have a password vault and a script to which I am passing a password.

The vault looks kind of like this:
---
vault_password: abc(123


The script in the playbook is called like this:
---
tasks:
 - name: my-script
   script: My-Script.ps1 -secret {{ vault_password }}


The error which is reported is quite long though the operative part looks 
like:
(Missing closing ')' in expression.:String) []


When the '(' is removed from the sample password the script runs as 
expected.

I have tried putting the Jinja2 into quotes and escaping the quotes and 
researching this issue.

I don't have control of the passwords needed by the script.

Thank you


--
Stephen.

-- 
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/c6524830-d745-46e4-a062-6050f73f3515%40googlegroups.com.

Reply via email to