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 531b3b9 commit 96c270eCopy full SHA for 96c270e
ansible/roles/hpctests/tasks/setup.yml
@@ -7,7 +7,7 @@
7
8
- name: Select default partition if hpctests_partition not given
9
set_fact:
10
- hpctests_partition: "{{ _sinfo_partitions.stdout_lines | select('contains', '*') | first | trim('*') }}"
+ hpctests_partition: "{{ (_sinfo_partitions.stdout_lines | select('contains', '*') | first)[:-1] }}"
11
when: hpctests_partition is not defined
12
13
- name: Get info about compute nodes
0 commit comments