File tree 3 files changed +9
-4
lines changed
3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 32
32
- geonetwork
33
33
when : webserver_nginx
34
34
35
- - include : ../../tomcat_deploy/tasks/main.yml war_url='{{ geonetwork_war_url }}' context_path='{{ geonetwork_context_path }}' hostname='{{ geonetwork_hostname }}'
35
+ - include : ../../tomcat_deploy/tasks/main.yml war_url='{{ geonetwork_war_url }}' context_path='{{ geonetwork_context_path }}' hostname='{{ geonetwork_hostname }}' tomcat_deploy_from_url=true
36
36
notify :
37
37
- restart tomcat
38
38
tags :
Original file line number Diff line number Diff line change @@ -4,4 +4,3 @@ artifactId: ""
4
4
packaging : " "
5
5
classifier : " "
6
6
geonetwork_war_url : " https://github.com/geonetwork/core-geonetwork/releases/download/3.4.4/geonetwork.war"
7
- tomcat_deploy_from_url : true
Original file line number Diff line number Diff line change 60
60
61
61
- name : download from url {{ war_url }}
62
62
get_url : url={{ war_url }} dest="{{ tomcat_deploy_dir }}/{{ war_filename }}.war" checksum="{{ war_checksum | default('') }}" force=true timeout=60
63
- when : war_local_build is not defined and tomcat_deploy_from_url | default(false)
63
+ when :
64
+ - war_local_build is not defined
65
+ - tomcat_deploy_from_url | default(false)
66
+ notify :
67
+ - restart tomcat
64
68
65
69
- name : download from maven repo {{ war_url }}
66
70
maven_artifact :
76
80
owner : " {{ tomcat_user }}"
77
81
group : " {{ tomcat_user }}"
78
82
verify_checksum : always
79
- when : war_local_build is not defined and not tomcat_deploy_from_url | default(false)
83
+ when :
84
+ - war_local_build is not defined
85
+ - not tomcat_deploy_from_url | default(false)
80
86
notify :
81
87
- restart tomcat
82
88
You can’t perform that action at this time.
0 commit comments