Skip to content

Commit

Permalink
Merge pull request #56 from bcgov-nr/fix/logLevel
Browse files Browse the repository at this point in the history
add log level in playbook
  • Loading branch information
GraceRuan authored May 9, 2024
2 parents 98913d5 + 7c415e5 commit bff4d8a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion generators/pd-ansible-playbook/templates/playbook.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- name: <%= projectName %>/<%= serviceName %>
hosts: tomcat-servers
hosts: "{{ tomcat_server_hosts }}"
collections:
- polaris.deploy
vars_files:
Expand Down Expand Up @@ -39,6 +39,7 @@
vars:
webapp_war:
context: "{{ context }}"
webapp_root_log_level: "{{ log_level_root | default('INFO') }}"
proxy_env: "{{ env_vars }}"

# create a WebADE connection jar for the container
Expand Down
2 changes: 2 additions & 0 deletions generators/pd-ansible-playbook/templates/vars/custom/dev.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Use this file for custom variables related to your webapp
# tomcat_server_hosts: tomcat-servers-fusilli
log_level_root: DEBUG
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Use this file for custom variables related to your webapp
# tomcat_server_hosts: tomcat-servers-penne
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Use this file for custom variables related to your webapp
# tomcat_server_hosts: tomcat-servers-ravioli
log_level_root: DEBUG

0 comments on commit bff4d8a

Please sign in to comment.