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.
2 parents 9a6e0c3 + 9e4379e commit f7dbe46Copy full SHA for f7dbe46
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