Skip to content
Snippets Groups Projects
Commit 05109652 authored by Andreas Hamacher's avatar Andreas Hamacher
Browse files

learning about conditionals in ansible

parent f097660e
No related branches found
No related tags found
3 merge requests!310Gpu2,!308Youshallnotchanged,!304Gpu
......@@ -64,7 +64,7 @@
- name: "create cluster in slurm db"
shell: "{{slurm_dir}}/bin/sacctmgr -i create cluster {{ clustername }}"
become: true
when: '"1" = slurm_cluster_count.stdout'
when: '"1" is slurm_cluster_count.stdout'
- name: make sure munge is started
service: name=munge state=started enabled=yes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment