Created
October 12, 2013 16:32
-
-
Save cloverrose/6951999 to your computer and use it in GitHub Desktop.
Ansibleでremoteのファイル名に関して*.javaと言った形で記述したい場合、またjavacのclasspathを通したい場合(環境変数として)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# file: roles/hoge/tasks/main.yml | |
- name: compile *.java | |
command: sh -c `javac\ /home/vagrant/hoge/*.java` | |
environment: | |
CLASSPATH: /usr/local/lib/foo.jar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment