-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpatch_tasks_post.yml
More file actions
35 lines (29 loc) · 948 Bytes
/
patch_tasks_post.yml
File metadata and controls
35 lines (29 loc) · 948 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
- name: "Copy {{ dump_file_prefix }}.dmp to repository"
copy:
src: "{{ shared_folder }}/{{ dump_file_prefix }}.dmp"
dest: "{{ dump_folder }}"
- name: "Copy {{ dump_file_prefix }}.log to repository"
copy:
src: "{{ shared_folder }}/{{ dump_file_prefix }}.log"
dest: "{{ dump_folder }}"
- name : "Remove file {{ dump_file_prefix }}.dmp"
file:
state: absent
path: "{{ shared_folder }}/{{ dump_file_prefix }}.dmp"
- name : "Remove file {{ dump_file_prefix }}.log"
file:
state: absent
path: "{{ shared_folder }}/{{ dump_file_prefix }}.log"
- name : Remove unzipped patch folder
file:
state: absent
path: "{{ unzip_patch_folder }}"
when: patch.id != 0
- name : Remove PatchSearch.xml
file:
state: absent
path: "{{ shared_folder }}/PatchSearch.xml"
when: patch.id != 0
- name : Define latest processed
set_fact:
latest_processed: "{{ db_version }}.{{ patch.type }}.{{ patch.id }}"