Hi

Another mail with a little bit more information.
To prevent iterating over little bits of information guessing what you
are doing, could you please tell clearly:

- What you are trying to achieve.
- How you are doing this.
- What problems you encounter.
- Which command did you run, and what output did you get from that
(copied as text, not as images/attachments/screenshots)
- What the relevant tasks/playbooks/code/variables look like

thx

On Thu, 6 Feb 2020 at 21:37, Anand Solomon <[email protected]> wrote:
>
> Hi,
> How to even run ansible commands to the RDS Oracle instance ? Is there a 
> special parameter I should be passing ? . I have "connection; local" in the 
> task. I tried to execute the playbook, I get the below error. Am i missing 
> something ?
>
>
> Here is my playbook variable.
>
> vars:
> oracle_home: /home/ansible/instantclient_12_2
> user: USERNAME
> prt: "1521"
> host: "dbname.ymst2nb7ngoi.us-east-1.rds.amazonaws.com"
> sname: dbname
> oracle_env:
> ORACLE_HOME: "{{oracle_home}}"
> LD_LIBRARY_PATH: "{{oracle_home}}"
> PATH: "{{oracle_home}}"
>
>
> I am getting the below error
>
> TASK [Gathering Facts] 
> *******************************************************************************************************************************
> fatal: [dbname.ymst2nb7ngoi.us-east-1.rds.amazonaws.com]: UNREACHABLE! => 
> {"changed": false, "msg": "Failed to connect to the host via ssh: 
> ssh_exchange_identification: Connection closed by remote host", 
> "unreachable": true}
>
> PLAY RECAP 
> *******************************************************************************************************************************************
> dbname.ymst2nb7ngoi.us-east-1.rds.amazonaws.com : ok=0 changed=0 
> unreachable=1 failed=0 skipped=0 rescued=0 ignored=0
>
> --
> 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/613194b4-53da-475c-9a8b-bce50ab7997d%40googlegroups.com.



-- 
Dick Visser
Trust & Identity Service Operations Manager
GÉANT

-- 
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/CAL8fbwOKfKUzeUfERZYq1kQKh_PLcLeuKZqw_Dzum9-9tzvhdQ%40mail.gmail.com.

Reply via email to