From: <ps...@us...> - 2017-05-20 00:17:31
|
Revision: 289 http://sourceforge.net/p/vlibrary/code/289 Author: psteitz Date: 2017-05-20 00:17:30 +0000 (Sat, 20 May 2017) Log Message: ----------- Added playbook to just update and deploy the app. Added Paths: ----------- branches/VLIBRARY_2_X/playbooks/roles/deploy/ branches/VLIBRARY_2_X/playbooks/roles/deploy/tasks/ branches/VLIBRARY_2_X/playbooks/roles/deploy/tasks/main.yml branches/VLIBRARY_2_X/playbooks/updateApp.yml Added: branches/VLIBRARY_2_X/playbooks/roles/deploy/tasks/main.yml =================================================================== --- branches/VLIBRARY_2_X/playbooks/roles/deploy/tasks/main.yml (rev 0) +++ branches/VLIBRARY_2_X/playbooks/roles/deploy/tasks/main.yml 2017-05-20 00:17:30 UTC (rev 289) @@ -0,0 +1,6 @@ +- name: Deploy the app + copy: + remote_src: true + src: "{{vlibrary_src}}/target/vlibrary.war" + dest: "{{tomcat_home}}/webapps" + become: true Added: branches/VLIBRARY_2_X/playbooks/updateApp.yml =================================================================== --- branches/VLIBRARY_2_X/playbooks/updateApp.yml (rev 0) +++ branches/VLIBRARY_2_X/playbooks/updateApp.yml 2017-05-20 00:17:30 UTC (rev 289) @@ -0,0 +1,12 @@ +--- +# Checks out the latest sources, builds and deploys the app +# USAGE: +# ansible-playbook updateApp.yml --extra-vars "app_user=app app_pass=appPass mail_user=som...@gm... mail_pass=secret" + +- hosts: servers + roles: + - app + - deploy + + environment: + DERBY_HOME: "{{derby_home}}" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |