We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efd2883 commit 17d7924Copy full SHA for 17d7924
ansible/roles/doca/tasks/install.yml
@@ -39,13 +39,11 @@
39
- name: Cleanup DOCA build directories
40
ansible.builtin.file:
41
state: absent
42
- path: "{{ (_doca_kernel_repo.stdout | split('/'))[:2] | join('/') }}"
+ path: "{{ (_doca_kernel_repo.stdout | split('/'))[:3] | join('/') }}" # leading / means 1st element of split list is ''
43
44
- name: Update initramfs
45
ansible.builtin.command:
46
- cmd: dracut -f --tmpdir /var/tmp
47
- environment:
48
- TMPDIR: /var/tmp
+ cmd: dracut -f
49
register: _doca_dracut
50
failed_when: _doca_dracut.stderr != '' # appears rc is always 0
51
0 commit comments