Skip to content

Commit 806af20

Browse files
authored
Add files via upload
1 parent e9d6a15 commit 806af20

File tree

1 file changed

+50
-10
lines changed

1 file changed

+50
-10
lines changed

dps/group_vars/dev_dps.yml

Lines changed: 50 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,15 @@
22
# defaults file for DPS application
33

44
APP: '{{ app_name }}'
5-
JAVA_LOC_ORIG: '/usr/jdk/instances/jdk1.8.0_74/'
5+
JAVA_LOC_ORIG: '/usr/jdk/jdk1.8.0_131'
66
env_full_fillment: 'DEV-Development'
77
PROCESS_NAME: sendmail
88
APP_PROGRAM_FILE: '/usr/lib/sendmail'
99
svn_trunk_url: 'https://github.com/johnbashas/Ansible/blob/master'
1010
APP_PORT: 25
1111

1212
#Application file and directory description
13-
UID: P639861
14-
TEMP: '/tmp/{{ UID }}/dps'
15-
DPS_HOME: '/tmp/{{UID }}/local/apps/dps'
13+
TEMP: '/tmp/dps'
1614
DPS_APP_HOME: '{{ DPS_HOME }}/{{ APP }}'
1715
DPS_DIST_DIR: '{{ DPS_HOME }}/dist'
1816
DPS_DEPLOY_DIR: '{{ DPS_HOME }}/deploy'
@@ -21,8 +19,8 @@ DPS_LOG_DIR: '{{ DPS_APP_HOME }}/logs'
2119
DPS_APP_LOG_FILE: '{{ DPS_LOG_DIR }}/{{ APP }}.log'
2220

2321
#User details
24-
APP_OWNER: 'u42093'
25-
APP_GROUP: 'u42093'
22+
APP_OWNER: 'vagrant'
23+
APP_GROUP: 'vagrant'
2624

2725
#Extra vars description
2826
java_loc_orig: '{{ JAVA_LOC_ORIG }}'
@@ -34,7 +32,7 @@ email_subject_success: "Deployment Log for {{APP}}"
3432
email_body_success: "Deployment completed for {{APP}} on {{ env_full_fillment }}, Log file : {{ DPS_LOG_DIR }}/{{ APP }}_{{ dps_new_build }}_{{ deploy_start_time }}.log"
3533
DIST_LIST_success: 'basha.tech@gmail.com'
3634

37-
email_attachment_failed: "/tmp/{{ UID }}/local/apps/dps/dist/*.log"
35+
email_attachment_failed: "{{ DPS_HOME }}/dist/*.log"
3836
email_subject_failed: "Deployment Failure Log for {{APP}}"
3937
email_body_failed: "Deployment failed for {{APP}} on {{ env_full_fillment }}, Log file : {{ DPS_LOG_DIR }}/Failed_Log_{{ APP }}_{{ deploy_start_time }}.log"
4038
DIST_LIST_failed: 'basha.tech@gmail.com'
@@ -48,7 +46,6 @@ APP_PROGRAM_FILE: '/usr/lib/sendmail'
4846
APP_PROGRAM_FILE_RH: '/usr/sbin/sendmail'
4947
svn_trunk_url: 'https://github.com/johnbashas/Ansible/blob/master'
5048

51-
HOME: '/tmp/{{UID }}/local/apps/fincadservice'
5249
APP_HOME: '{{ HOME }}/{{ FIN_APP }}'
5350
DIST_DIR: '{{ HOME }}/dist'
5451
DEPLOY_DIR: '{{ HOME }}/deploy'
@@ -62,6 +59,49 @@ fin_email_attachment_success: "{{ LOG_DIR }}/{{ FIN_APP }}_{{ new_build }}_{{ de
6259
fin_email_subject_success: "Deployment Log for {{FIN_APP}}"
6360
fin_email_body_success: "Deployment completed for {{FIN_APP}} on {{ env_full_fillment }}, Log file : {{ LOG_DIR }}/{{ FIN_APP }}_{{ new_build }}_{{ deploy_start_time }}.log"
6461

65-
fin_email_attachment_failed: "/tmp/{{ UID }}/local/apps/fincadservice/fincadservice/dist/*.log"
62+
fin_email_attachment_failed: "{{ HOME }}/fincadservice/dist/*.log"
6663
fin_email_subject_failed: "Deployment Failure Log for {{FIN_APP}}"
67-
fin_email_body_failed: "Deployment failed for {{ FIN_APP}} on {{ env_full_fillment }}, Log file : {{ LOG_DIR }}/Failed_Log_{{ FIN_APP }}_{{ deploy_start_time }}.log"
64+
fin_email_body_failed: "Deployment failed for {{ FIN_APP}} on {{ env_full_fillment }}, Log file : {{ LOG_DIR }}/Failed_Log_{{ FIN_APP }}_{{ deploy_start_time }}.log"
65+
66+
#Build Variables
67+
68+
version_no : 18.0
69+
branch_name: master
70+
BUILD: '{{ build_no }}'
71+
FINBUILD: '{{ finbuild_no }}'
72+
VERSION: '{{ version_no }}'
73+
BRANCH: '{{ branch_name }}'
74+
BUILD_NAME: 'BUILD_{{BUILD}}'
75+
FINBUILD_NAME: 'BUILD_{{FINBUILD}}'
76+
BUILD_FILE: '{{ APP }}_{{ BUILD_NAME }}.zip'
77+
BUILD_FILENAME: '{{ APP }}_{{ BUILD_NAME }}'
78+
BUILD_FINFILE: '{{ FIN_APP }}_{{ FINBUILD_NAME }}.zip'
79+
BUILD_FINFILENAME: '{{ FIN_APP }}_{{ FINBUILD_NAME }}'
80+
MAJ_VER:
81+
MIN_VER:
82+
build: BUILD
83+
84+
#SVN description
85+
SVN_EXPORT_DIR: '/tmp/{{ APP }}'
86+
SVN_EXPORT_FINDIR: '/tmp/{{ FIN_APP }}'
87+
SVN_TRUNK: '{{ svn_trunk_url }}'
88+
SVN_SOURCE: '{{ SVN_TRUNK }}/{{ BUILD_FILE }}'
89+
SVN_FINSOURCE: '{{ SVN_TRUNK }}/{{ BUILD_FINFILE }}'
90+
91+
#Temp directory and file description
92+
TEMP_DEPLOY_DIR: '{{ DPS_DEPLOY_DIR }}/{{ BUILD_FILENAME }}'
93+
TEMP_DEPLOY_CONFIRMATION_FILE: '{{ TEMP_DEPLOY_DIR }}/bin/build_file.txt'
94+
TEMP_DEPLOY: '{{ DEPLOY_DIR }}/{{ BUILD_FINFILENAME }}'
95+
TEMP_DEPLOY_FILE: '{{ TEMP_DEPLOY }}/bin/build_file.txt'
96+
97+
log_file: '/tmp/ansible.log'
98+
99+
#Extra vars description
100+
process_name: '{{ PROCESS_NAME }}'
101+
mail_port: '{{ MAIL_PORT }}'
102+
java_loc: '{{ DPS_APP_HOME }}/java'
103+
app_port: '{{ APP_PORT }}'
104+
105+
106+
107+

0 commit comments

Comments
 (0)