problem with at-sign @

16 views
Skip to first unread message

Milton Silva

unread,
Feb 12, 2015, 1:08:39 PM2/12/15
to ansible...@googlegroups.com
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?
Reply all
Reply to author
Forward
0 new messages