From c8057c8da7505e21e34a8da01d6729a7b9b19ad9 Mon Sep 17 00:00:00 2001 From: Andreas Wilson <41663792+andrwils@users.noreply.github.com> Date: Fri, 3 May 2024 17:00:49 -0700 Subject: [PATCH] feat: simplify playbook template --- generators/pd-ansible-playbook/templates/playbook.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/generators/pd-ansible-playbook/templates/playbook.yaml b/generators/pd-ansible-playbook/templates/playbook.yaml index a031c49..e7eb716 100644 --- a/generators/pd-ansible-playbook/templates/playbook.yaml +++ b/generators/pd-ansible-playbook/templates/playbook.yaml @@ -62,13 +62,5 @@ with_items: - { src: "web.xml.j2", - dest: "{{ pd_prop_service_install_directory }}/webapps/{{ alt_app_dir_name or context }}/WEB-INF/web.xml" - } - - { - src: "JMSConfig.xml.j2", - dest: "{{ pd_prop_service_install_directory }}/webapps/{{ alt_app_dir_name or context }}/WEB-INF/classes/JMSConfig.xml" - } - - { - src: "tasks.xml.j2", - dest: "{{ pd_prop_service_install_directory }}/webapps/{{ alt_app_dir_name or context }}/WEB-INF/classes/tasks.xml" + dest: "{{ apps_home }}/{{ pd_prop_project_name }}/{{ pd_prop_service_name }}/{{ pd_prop_service_install_directory }}/webapps/{{ alt_app_dir_name | default(context) }}/WEB-INF/web.xml" }