Hi,
I resolved my problem by to take off [ 
source {{ oracle_home }}/.bash_profile].

Regards,
Matthieu

Le lundi 7 juin 2021 à 17:06:40 UTC+2, coussi....@gmail.com a écrit :

>
> Hi,
>
> I try to create an Oracle Wallet with expect module.
>
> I pass the question and the answer to expect module :
>
> # Création du Wallet
> - name : "{{ titre_post_provision_oracle_wallet }} - Création du Wallet"
>   expect:
>     command: 
> /bin/bash -c "source {{ oracle_home }}/.bash_profile ; mkstore -create -wrl 
> $ORACLE_HOME/network/admin"
>     responses:
>      (?i)Enter password: "{{ tmp_wallet_password }}"
>      (?i)Enter password again: "{{ tmp_wallet_password }}"
>   register: tmp_create_wallet
>   delegate_to: "{{tmp_dbserver_ipadress}}"
>
>
> But in the stdout i have this message :
>
> "stdout_lines": [
>             "Oracle Secret Store Tool : Version 11.2.0.4.0 - Production",
>             "Copyright (c) 2004, 2013, Oracle and/or its affiliates. All 
> rights reserved.",
>             "",
>             "Enter password:   \b\b\b   \b\b\b   \b\b\b      ............",
>             "Enter password again:   \b\b\b   \b\b\b   \b\b\b ............"
>
>
> And the Wallet does not work.
>
> Thanks for your help,
>
> Matt
>
>
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/e2dc07c2-4f11-4a98-a99f-ff3bcbaaf38an%40googlegroups.com.

Reply via email to