Hello,
is it possible to run the .profile on the target server to be able to run a
shell using these env variables ?
example:
the JAVA_HOME variable is set in the .profile on my target environment.
When running the playbook with:
- name: run .profile
shell: ksh .profile
args:
chdir: ~
- name: Demarrage du server openhr
shell: /bin/ksh dispatcher.sh
the error message is: JAVA_HOME is not set.
Thank you
--
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/bee8a0a0-f8a5-4842-bcbe-db04627cfe58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.