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