File tree Expand file tree Collapse file tree 1 file changed +12
-17
lines changed Expand file tree Collapse file tree 1 file changed +12
-17
lines changed Original file line number Diff line number Diff line change 33
33
--file {{ item.path }} \
34
34
with_items : " {{ rpm_dir.files }}"
35
35
no_log : true
36
+ register : upload_debug
37
+ failed_when : false
36
38
37
- - name : Create Pulp publication for OFED
38
- pulp.squeezer.rpm_publication :
39
- pulp_url : " {{ stackhpc_release_pulp_url }}"
40
- username : " {{ stackhpc_release_pulp_username }}"
41
- password : " {{ stackhpc_release_pulp_password }}"
42
- repository : " {{ stackhpc_pulp_repo_doca_ofed_rhel9.name }}"
43
- state : present
44
- register : publication
39
+ - name : Write stdout to file
40
+ copy :
41
+ content : " {{ upload_debug.stdout }}"
42
+ dest : " /home/stack/upload-debug"
43
+ no_log : true
45
44
46
- - name : Create Pulp distribution for OFED
47
- pulp.squeezer.rpm_distribution :
48
- pulp_url : " {{ stackhpc_release_pulp_url }}"
49
- username : " {{ stackhpc_release_pulp_username }}"
50
- password : " {{ stackhpc_release_pulp_password }}"
51
- name : " {{ stackhpc_pulp_repo_doca_ofed_rhel9.distribution_name }}"
52
- publication : " {{ publication.publication.pulp_href }}"
53
- base_path : " {{ stackhpc_pulp_repo_doca_ofed_rhel9.base_path }}"
54
- state : present
45
+ - name : Write stderr to file
46
+ copy :
47
+ content : " {{ upload_debug.stderr }}"
48
+ dest : " /home/stack/upload-error"
49
+ no_log : true
You can’t perform that action at this time.
0 commit comments