Skip to content

Commit da07773

Browse files
Enable verbose
1 parent 0e66083 commit da07773

File tree

3 files changed

+20
-21
lines changed

3 files changed

+20
-21
lines changed

.github/workflows/package-build-ofed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,6 @@ jobs:
250250
run: |
251251
source venvs/kayobe/bin/activate &&
252252
source src/kayobe-config/kayobe-env --environment ci-builder &&
253-
kayobe playbook run src/kayobe-config/etc/kayobe/ansible/push-ofed.yml
253+
kayobe playbook run src/kayobe-config/etc/kayobe/ansible/push-ofed.yml -vvv
254254
env:
255255
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}

etc/kayobe/ansible/build-ofed-rocky.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,22 @@
6565
name: doca-ofed-userspace
6666
download_only: true
6767
download_dir: /home/stack/ofed
68+
69+
- name: Ensure Pulp configuration directory exists
70+
ansible.builtin.file:
71+
path: /home/stack/.config/pulp/
72+
state: directory
73+
recurse: true
74+
75+
- name: Setup Pulp credentials
76+
ansible.builtin.blockinfile:
77+
path: /home/stack/.config/pulp/cli.toml
78+
create: true
79+
block: |
80+
[cli]
81+
base_url = '{{ stackhpc_release_pulp_url }}'
82+
verify_ssl = true
83+
format = "json"
84+
username = '{{ stackhpc_release_pulp_username }}'
85+
password = '{{ stackhpc_release_pulp_password }}'
86+
no_log: true

etc/kayobe/ansible/push-ofed.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,6 @@
2020
paths: "/home/stack/ofed"
2121
register: rpm_dir
2222

23-
- name: Ensure Pulp configuration directory exists
24-
ansible.builtin.file:
25-
path: /home/stack/.config/pulp/
26-
state: directory
27-
recurse: true
28-
29-
- name: Setup Pulp credentials
30-
ansible.builtin.blockinfile:
31-
path: /home/stack/.config/pulp/cli.toml
32-
create: true
33-
block: |
34-
[cli]
35-
base_url = '{{ stackhpc_release_pulp_url }}'
36-
verify_ssl = true
37-
format = "json"
38-
username = '{{ stackhpc_release_pulp_username }}'
39-
password = '{{ stackhpc_release_pulp_password }}'
40-
no_log: true
41-
4223
- name: Upload OFED RPMs to Pulp
4324
ansible.builtin.shell:
4425
cmd: |
@@ -48,4 +29,3 @@
4829
--repository '{{ stackhpc_pulp_repo_doca_ofed_rhel9.name }}' \
4930
--file {{ item.path }} \
5031
with_items: "{{ rpm_dir.files }}"
51-
failed_when: false

0 commit comments

Comments
 (0)