forked from islandora-deprecated/ansible-role-tomcat8
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensures that tomcat8 role works with tags.
Resolves: Islandora/documentation#979
- Loading branch information
1 parent
f9cbc08
commit b625593
Showing
2 changed files
with
37 additions
and
30 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
|
||
# Include variables and define needed variables. | ||
- name: Include OS-specific variables. | ||
include_vars: "{{ ansible_os_family }}.yml" | ||
|
||
- name: Define tomcat8_home | ||
set_fact: | ||
tomcat8_home: "{{ __tomcat8_home }}" | ||
when: tomcat8_home is not defined | ||
|
||
- name: Define tomcat8_version | ||
set_fact: | ||
tomcat8_version: "{{ __tomcat8_version }}" | ||
when: | ||
- tomcat8_version is not defined | ||
- __tomcat8_version is defined | ||
|
||
- name: Define tomcat_binary_url | ||
set_fact: | ||
tomcat_binary_url: "{{ __tomcat_binary_url }}" | ||
when: | ||
- tomcat_binary_url is not defined | ||
- __tomcat_binary_url is defined | ||
|
||
- name: Define tomcat_target_dir | ||
set_fact: | ||
tomcat_target_dir: "{{ __tomcat_target_dir }}" | ||
when: | ||
- tomcat_target_dir is not defined | ||
- __tomcat_target_dir is defined |
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