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/c9889c6a-ecfc-4524-9678-b09e7dcb2030n%40googlegroups.com.

Reply via email to