Hi.

I've been trying various patterns that I got adviced above.
But it couldn't work well.

Although this system uses jinjar2 template, 
I tried simple playbook and workflow.
And I found below. 

1. run ansible-playbook : This was OK
Playbook.yaml is below  (oracle_home_user_password=Password123$%@#)
---
- hosts: test
  tasks:
    - win_command: "c:\\ora_binary\\setup.exe -silent -noconfig 
-responseFile C:\\Work\\db_install.rsp 
oracle.install.OracleHomeUserPassword={{ oracle_home_user_password }}

2. run Workflow on AnsibleTower  : This was error
  In this case, when setup.exe command ran, Oracle installer said,
  unknown env parameter: %@#

  I guess that Ansible process passed the setup command line to Oracle 
installer
    "c:\\ora_binary\\setup.exe -silent -noconfig -responseFile 
C:\\Work\\db_install.rsp oracle.install.OracleHomeUserPassword= 
Password12"   +* "$%@#"*
   
Is there someting wrong with me?
2021年5月14日金曜日 17:38:41 UTC+9 ystk hmsk:

> I tried many times today,but I couldn't complete.
>
> Ummm, I'm thinking other patterns.
>
>
> 2021年5月14日金曜日 5:30:37 UTC+9 ystk hmsk:
>
>> Thanx! Brian !
>>
>> I'll try it!
>> 2021年5月13日木曜日 22:36:54 UTC+9 Brian Coca:
>>
>>> Aside from escaping for shells (use `quote` filter), you might want to 
>>> mark the password as 'unsafe for templating': 
>>>
>>> oracle_home_user_password: !unsafe @#$lksWHATEVER{{wontgettemplated 
>>>
>>>
>>>
>>> -- 
>>> ---------- 
>>> Brian Coca 
>>>
>>>

-- 
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/23cd4e06-74e3-4f3e-a170-6c0c8867d93an%40googlegroups.com.

Reply via email to