Skip to content

Commit 366aa4c

Browse files
Use strftime instead
1 parent f04c385 commit 366aa4c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

etc/kayobe/ansible/push-ofed.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
- name: Push OFED packages
33
hosts: ofed-builder
4-
gather_facts: true
54
vars:
65
venv: "/opt/kayobe/venvs/kayobe"
76
tasks:
@@ -11,7 +10,7 @@
1110

1211
- name: Generate timestamp for distribution
1312
ansible.builtin.set_fact:
14-
stackhpc_doca_ofed_repo_version: "{{ ansible_date_time.iso8601_basic_short }}"
13+
stackhpc_doca_ofed_repo_version: "{{ '%Y%m%dT%H%M%S' | strftime }}"
1514

1615
- name: Create Pulp repository for OFED
1716
pulp.squeezer.rpm_repository:

0 commit comments

Comments
 (0)