File tree Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Original file line number Diff line number Diff line change 5
5
metadata : []
6
6
7
7
8
- - name : Fetch File List
9
- ansible.builtin.command :
10
- cmd : bash -c find . *
11
- chdir : " {{ directory_temp_destination }}"
12
- changed_when : false
13
- register : files_backup
14
- become : true
15
- no_log : true # Don't log the files found. not required
8
+ # - name: Fetch File List
9
+ # ansible.builtin.command:
10
+ # cmd: bash -c find . *
11
+ # chdir: "{{ directory_temp_destination }}"
12
+ # changed_when: false
13
+ # register: files_backup
14
+ # become: true
15
+ # no_log: true # Don't log the files found. not required
16
16
17
17
18
- - name : Get File Stats
19
- ansible.builtin.include_tasks :
20
- file : tasks/file_stat.yaml
21
- loop : " {{ files_backup.stdout_lines | list }}"
22
- loop_control :
23
- loop_var : filename
18
+ # - name: Get File Stats
19
+ # ansible.builtin.include_tasks:
20
+ # file: tasks/file_stat.yaml
21
+ # loop: "{{ files_backup.stdout_lines | list }}"
22
+ # loop_control:
23
+ # loop_var: filename
24
24
25
25
26
- - name : Create Metadata File
27
- ansible.builtin.copy :
28
- content : " {{ metadata | from_yaml | to_nice_yaml(indent=0) | indent(0) }}"
29
- dest : " {{ directory_temp_destination }}/metadata.yaml"
30
- owner : root
31
- group : backup
32
- mode : ' 0770'
33
- become : true
26
+ # - name: Create Metadata File
27
+ # ansible.builtin.copy:
28
+ # content: "{{ metadata | from_yaml | to_nice_yaml(indent=0) | indent(0) }}"
29
+ # dest: "{{ directory_temp_destination }}/metadata.yaml"
30
+ # owner: root
31
+ # group: backup
32
+ # mode: '0770'
33
+ # become: true
You can’t perform that action at this time.
0 commit comments