File tree 4 files changed +8
-8
lines changed
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -93,11 +93,11 @@ process. To do so, see the following config example:
93
93
...
94
94
deploy_additional_templates:
95
95
- {
96
- src: "templates/ application.conf.j2",
96
+ src: "application.conf.j2",
97
97
dest: "{{ deploy_dir_config }}/application.conf"
98
98
}
99
99
- {
100
- src: "templates/ logback.xml.j2",
100
+ src: "logback.xml.j2",
101
101
dest: "{{ deploy_dir_config }}/logback.xml",
102
102
mode: "0600"
103
103
}
@@ -109,7 +109,7 @@ process. To do so, see the following config example:
109
109
...
110
110
deploy_additional_copy:
111
111
- {
112
- src: "/path/to/ file",
112
+ src: "file",
113
113
dest: "{{ deploy_dir_app }}/file",
114
114
mode: "0644"
115
115
}
Original file line number Diff line number Diff line change @@ -147,11 +147,11 @@ deploy_service_type: default
147
147
148
148
deploy_service_name : " {{ deploy_app_name | lower }}-{{ deploy_instance_nr }}"
149
149
150
- deploy_service_upstart_template : " templates/ service/upstart.conf.j2"
150
+ deploy_service_upstart_template : " service/upstart.conf.j2"
151
151
152
152
deploy_service_upstart_location : " /etc/init/{{ deploy_app_name | lower }}-{{ deploy_instance_nr }}.conf"
153
153
154
- deploy_service_systemd_template : " templates/ service/systemd.service.j2"
154
+ deploy_service_systemd_template : " service/systemd.service.j2"
155
155
156
156
deploy_service_systemd_location : " /etc/systemd/system/{{ deploy_app_name | lower }}-{{ deploy_instance_nr }}.service"
157
157
Original file line number Diff line number Diff line change 30
30
- name : " Additional - Deploy copy files"
31
31
become : yes
32
32
become_user : " {{ deploy_app_user }}"
33
- template :
33
+ copy :
34
34
src : " {{ item.src }}"
35
35
dest : " {{ item.dest }}"
36
36
owner : " {{ item.user | default(deploy_app_user) }}"
Original file line number Diff line number Diff line change 10
10
deploy_app_user : " bot-user"
11
11
deploy_app_group : " bot-group"
12
12
deploy_additional_templates :
13
- - { src: "templates/ application.conf.j2", dest: "{{ deploy_dir_config }}/application.conf" }
14
- - { src: "templates/ logback.xml.j2", dest: "{{ deploy_dir_config }}/logback.xml", mode: 600 }
13
+ - { src: "application.conf.j2", dest: "{{ deploy_dir_config }}/application.conf" }
14
+ - { src: "logback.xml.j2", dest: "{{ deploy_dir_config }}/logback.xml", mode: 600 }
15
15
roles :
16
16
- { role: ../../../ansible-java-deployment }
You can’t perform that action at this time.
0 commit comments