Skip to content
Snippets Groups Projects
Commit a5063ea2 authored by Jupiter Hu's avatar Jupiter Hu
Browse files

fixed bug to check variable

parent ad6a8e1b
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,7 @@
- name: install gres config file
template: src=gres.conf.j2 dest={{ slurm_dir }}/etc/gres.conf mode=644
sudo: true
when: slurm_generic_resource.stdout
when: slurm_generic_resource is defined and slurm_generic_resource.stdout
- name: install gres sub config file
template: src=gres_sub.conf.j2 dest={{ slurm_dir }}/etc/gres/gres.conf mode=644
......
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