Hi, I have the following yaml

---
- hosts: sdps
  vars:
    pacote: YYY
    esquemaservico: XXX
  remote_user: oracle
  tasks:
  - name: enviar o pacote para a maquina destino
    copy: src={{ pacote }} dest=~ force=no
  - name: instalar os objectos do esquema de servico
    command: /u01/app/oracle/product/11.2.0/db_1/bin/sqlplus -S {{ 
esquemaservico }}/XXX @{{ pacote }}/ZZZ.sql

Yet, this fails and what is being executed in the target machine is the 
following:
/u01/app/oracle/product/11.2.0/db_1/bin/sqlplus -S                         
    @YYY/ZZZ.sql

XXX/XXX is not in the command. How do I make the command execute with 
XXX/XX and what is happening here?

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/bdf46220-43a0-42d3-9acd-b06a63e66d71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to