Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

handful of small Ansible fixes #26

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ found in the *vars/versions* directory. When configuring a version,
that is not predefined (so far), the following variables must also be
defined in the playbook/inventory:

* ``tomcat_redis_checksum``: SHA256 sum for the downloaded Tomcat redistributable package (string, default: ``a787ea12e163e78ccebbb9662d7da78e707aef051d15af9ab5be20489adf1f6d``)
* ``tomcat_web_xml_schema_version``: Configures Tomcat web.xml schema version when used with the default template ``web.xml.j2``.
* ``tomcat_redis_checksum``: SHA256 sum for the downloaded Tomcat redistributable package (string, default: ``sha256:a787ea12e163e78ccebbb9662d7da78e707aef051d15af9ab5be20489adf1f6d``)
* ``tomcat_web_xml_schema_version``: Configures Tomcat web.xml schema version when used with the default template ``web.xml.j2``. Should be something like ``3.1``.

### tomcat_web_xml_schema_version

Expand Down Expand Up @@ -526,6 +526,6 @@ Ruby with rake and bundler available.
* [deepan](https://github.com/deepan)
* [PhysicsUnplugged](https://github.com/PhysicsUnplugged)
* [AMeng](https://github.com/AMeng)

* [afeld](https://github.com/afeld)

<!-- vim: set ts=4 sw=4 et nofen: -->
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
- name: Register static/unmanaged conf files
tags: tomcat
register: tomcat_registered_conf_files
always_run: true
check_mode: no
changed_when: false
when: tomcat_fact_is_not_initial_check_mode
# failed_when: "{{ false if lib_fact_check_mode else omit }}"
Expand Down
2 changes: 1 addition & 1 deletion vars/service/systemd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ tomcat_default_service_template: "{{ tomcat_server_systemd_template }}"
tomcat_default_service_file: "[email protected]"
tomcat_default_service_name: "tomcat@tomcat"
tomcat_service_dir: /etc/systemd/system
tomcat_service_file_mode: 644
tomcat_service_file_mode: 0644
2 changes: 1 addition & 1 deletion vars/service/sysvinit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ tomcat_default_service_template: "{{ tomcat_server_sysvinit_template }}"
tomcat_default_service_file: tomcat
tomcat_default_service_name: tomcat
tomcat_service_dir: /etc/init.d
tomcat_service_file_mode: 755
tomcat_service_file_mode: 0755
2 changes: 1 addition & 1 deletion vars/service/upstart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ tomcat_default_service_template: "{{ tomcat_server_upstart_template }}"
tomcat_default_service_file: tomcat.conf
tomcat_default_service_name: tomcat
tomcat_service_dir: /etc/init
tomcat_service_file_mode: 644
tomcat_service_file_mode: 0644