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

learning about conditionals in ansible

Former-commit-id: 05109652
parent c6737dc6
No related branches found
No related tags found
No related merge requests found
......@@ -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