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

Merge pull request #138 from CVL-GitHub/hpcidbranch10

fixed the slurmcontrol node service command
parents 5d58bf46 cb548979
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,11 @@
{% endif %}
{% endif %}
{% if ansible_os_family == 'RedHat' and ansible_distribution_version >= '7' %}
{% if slurmctrl == inventory_hostname %}
systemctl restart slurmctld
{% else %}
systemctl restart slurmd
{% endif %}
{% else %}
postrotate /etc/init.d/slurm reconfig
{% endif %}
......
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