Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add log level in playbook #56

Merged
merged 2 commits into from
May 9, 2024
Merged
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
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
Loading