-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
53 lines (29 loc) · 982 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
jar-exec
==================
Execute jar file
exec command will be :
shell: cd {{ je_working_dir }} && java {{ je_java_options }} -jar {{ je_jar_path }} {{ je_jar_args }}
Role Variables
--------------
madatory vars :
je_jar_path: full path to jar
optional vars :
je_working_dir: where to go before star jar
je_java_options: java options (ex: -Xmx4g)
je_jar_args: Arguments passed to jar
environnement variables :
these will be set just before jar execution
je_env_vars: ["myvar=myvalue","othervar=othervalue"]
You can copy the file files/group_vars_all in the playbook group_vars/all/directory for easy config (allready done if playbook-generator is used)
How to use
----------
Put here the way to use this role.
- hosts: server
roles:
- { role: jar-exec, je_jar_path: "myjar.jar" }
License
-------
Licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
Author Information
------------------
Talk about you :)