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 c221045 commit 2f194ceCopy full SHA for 2f194ce
ansible/roles/hpctests/tasks/pingpong.yml
@@ -13,8 +13,8 @@
13
14
- name: Run pingpong
15
block:
16
- - name: Submit jobscript # noqa: no-changed-when
17
- ansible.builtin.command: bash -l -c 'sbatch --wait pingpong.sh'
+ - name: Submit jobscript # noqa: command-instead-of-shell no-changed-when
+ ansible.builtin.shell: bash -l -c 'sbatch --wait pingpong.sh' # need login shell for module command
18
args:
19
chdir: "{{ hpctests_rootdir }}/pingpong"
20
register: hpctests_pingpong_sbatch
0 commit comments