File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change 37
37
checksum_algorithm : sha256
38
38
register : file_stats
39
39
40
- - name : debug
41
- debug :
42
- msg : " {{ file_stats.stat.checksum }}"
43
-
44
40
- name : Write checksum to file
45
41
ansible.builtin.copy :
46
42
content : " {{ file_stats.stat.checksum }}"
47
43
dest : " /tmp/{{ found_files.files[0].path | basename }}.sha256"
48
44
when : upload_checksum
49
45
50
- - name : debugg
51
- debug :
52
- msg : " {{ found_files.files[0].path | basename }}.sha256"
53
-
54
- - name : debuggg
55
- command : cat /tmp/{{ found_files.files[0].path | basename }}.sha256
56
- register : test_output
57
-
58
- - name : debugggg
59
- debug :
60
- msg : " {{ test_output.stdout }}"
61
-
62
46
- name : Get sha256 hash for checksum
63
47
ansible.builtin.stat :
64
48
path : " /tmp/{{ found_files.files[0].path | basename }}.sha256"
You can’t perform that action at this time.
0 commit comments