Skip to content

Commit 2dea06a

Browse files
committed
ignore if there is no mpi in /usr/mpi/gcc/
1 parent de151ef commit 2dea06a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

playbooks/roles/mpivars/tasks/ubuntu.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
---
22
- name: Get the openmpi version
3-
shell: ls /usr/mpi/gcc/
3+
shell:
4+
cmd: ls /usr/mpi/gcc/
5+
warn: false
46
register: openmpi
7+
failed_when: false
58

69

710
- name: Check if mpivars.sh exists

0 commit comments

Comments
 (0)