We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1312ec commit 1bf3966Copy full SHA for 1bf3966
src/main/scripts/ci/ansible/deploy.yml
@@ -4,6 +4,7 @@
4
gather_facts: no
5
remote_user: mystamps
6
vars:
7
+ local_war_dir: ../../../../../target
8
remote_war_dir: /data/mystamps
9
uptimerobot:
10
monitorid: 'MyStamps'
@@ -12,7 +13,7 @@
12
13
14
- name: Getting info about WAR file
15
stat:
- path: 'target/mystamps.war'
16
+ path: "{{ local_war_dir }}/mystamps.war"
17
get_checksum: no
18
get_md5: no
19
register: war_file
@@ -40,7 +41,7 @@
40
41
42
- name: Copying WAR file
43
copy:
- src: '../../../../../target/mystamps.war'
44
+ src: "{{ local_war_dir }}/mystamps.war"
45
dest: "{{ remote_war_dir }}/mystamps.war"
46
owner: mystamps
47
group: mystamps
0 commit comments