Bonjour j'ai essayé de récupérer la valeur de la variable JAVA_HOME dans un 
fichier TEST.txt ,
le résultat est un fichier vide cad ansible n'arrive pas à lire cette 
variable . si j'execute la commande  echo $JAVA_HOME directement sur la 
machine distante j'obtient la  valeur de la variable /usr/jdk1.8.0_65
---
- name: java home
  shell: chdir=/home  echo $JAVA_HOME > TEST.txt


-- 
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/176a51bb-626d-470a-a246-14d8b57f3b3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to