Skip to content

Commit

Permalink
Remove unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Jan 5, 2021
1 parent 2266432 commit 62133ce
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 18 deletions.
8 changes: 7 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.3.0
rev: v3.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -18,3 +18,9 @@ repos:
hooks:
- id: ansible-lint
pass_filenames: false

- repo: https://github.com/robertdebock/pre-commit
rev: v1.1.1
hooks:
- id: ansible_role_find_unused_variable
- id: ansible_role_find_empty_files
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2020 Robert de Bock ([email protected])
Copyright 2021 Robert de Bock ([email protected])

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,6 @@ tomcat_instances:
access_log_suffix: "{{ tomcat_access_log_suffix }}"
access_log_pattern: "{{ tomcat_access_log_pattern }}"

# When downloading wars, should the SSL certificate be valid? (Impossible for
# CentOS 6, so default: no.)
tomcat_validate_certs: no

# The explicit version to use when referring to the short name.
tomcat_version7: 7.0.107
tomcat_version8: 8.5.60
Expand Down
4 changes: 0 additions & 4 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ tomcat_instances:
access_log_suffix: "{{ tomcat_access_log_suffix }}"
access_log_pattern: "{{ tomcat_access_log_pattern }}"

# When downloading wars, should the SSL certificate be valid? (Impossible for
# CentOS 6, so default: no.)
tomcat_validate_certs: no

# The explicit version to use when referring to the short name.
tomcat_version7: 7.0.107
tomcat_version8: 8.5.60
Expand Down
8 changes: 0 additions & 8 deletions tasks/assert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -341,11 +341,3 @@
label: "{{ item.name }}"
when:
- item.config_files is defined

- name: test if tomcat_validate_certs is set correctly
assert:
that:
- tomcat_validate_certs is boolean
quiet: yes
when:
- tomcat_validate_certs is defined

0 comments on commit 62133ce

Please sign in to comment.