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?