File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 8
8
ansible.builtin.pip :
9
9
name : pulp-cli
10
10
11
+ - name : Generate timestamp for distribution
12
+ ansible.builtin.set_fact :
13
+ stackhpc_doca_ofed_repo_version : " {{ ansible_date_time.iso8601_basic_short }}"
14
+
11
15
- name : Create Pulp repository for OFED
12
16
pulp.squeezer.rpm_repository :
13
17
pulp_url : " {{ stackhpc_release_pulp_url }}"
33
37
--type package upload \
34
38
--repository '{{ stackhpc_pulp_repo_doca_ofed_rhel9.name }}' \
35
39
--file {{ item.path }} \
40
+ --no-publish \
36
41
with_items : " {{ rpm_dir.files }}"
37
42
no_log : true
38
43
50
55
pulp_url : " {{ stackhpc_release_pulp_url }}"
51
56
username : " {{ stackhpc_release_pulp_username }}"
52
57
password : " {{ stackhpc_release_pulp_password }}"
53
- name : " {{ stackhpc_pulp_repo_doca_ofed_rhel9.distribution_name }}"
58
+ name : " {{ stackhpc_pulp_repo_doca_ofed_rhel9.distribution_name }} ~ {{ stackhpc_doca_ofed_repo_version }} "
54
59
publication : " {{ publication.publication.pulp_href }}"
55
- base_path : " {{ stackhpc_pulp_repo_doca_ofed_rhel9.base_path }}"
60
+ base_path : " {{ stackhpc_pulp_repo_doca_ofed_rhel9.base_path }}/{{ stackhpc_doca_ofed_repo_version }}"
61
+ content_guard : " development"
56
62
state : present
Original file line number Diff line number Diff line change @@ -8,5 +8,5 @@ stackhpc_pulp_doca_ofed_version: 24.07
8
8
stackhpc_pulp_repo_doca_ofed_rhel9 :
9
9
name : Mellanox Technologies doca_ofed {{ stackhpc_pulp_doca_ofed_version }} Rocky 9.{{ stackhpc_pulp_repo_rocky_9_minor_version }}
10
10
url : " {{ stackhpc_release_pulp_content_url }}/doca_ofed/{{ stackhpc_pulp_doca_ofed_version }}/rhel9.{{ stackhpc_pulp_repo_rocky_9_minor_version }}/x86_64"
11
- distribution_name : " mlnx-ofed-{{ stackhpc_pulp_doca_ofed_version }}-rocky-9-{{ stackhpc_pulp_repo_rocky_9_minor_version }}"
11
+ distribution_name : " mlnx-ofed-{{ stackhpc_pulp_doca_ofed_version }}-rocky-9-{{ stackhpc_pulp_repo_rocky_9_minor_version }}- "
12
12
base_path : " mlnx_ofed/{{ stackhpc_pulp_doca_ofed_version }}/rhel9.{{ stackhpc_pulp_repo_rocky_9_minor_version }}/x86_64"
You can’t perform that action at this time.
0 commit comments