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

fixed a bug

parent 226b63b2
No related branches found
No related tags found
No related merge requests found
......@@ -13,13 +13,13 @@
size=5M
create 640 slurm root
{% if slurmctrl == inventory_hostname %}
{% if ansible_os_family == 'RedHat' and ansible_distribution_version >= 7 %}
{% if ansible_os_family == 'RedHat' and ansible_distribution_version >= '7' %}
systemctl restart slurmdbd
{% else %}
postrotate /etc/init.d/slurmdbd reconfig
{% endif %}
{% endif %}
{% if ansible_os_family == 'RedHat' and ansible_distribution_version >= 7 %}
{% if ansible_os_family == 'RedHat' and ansible_distribution_version >= '7' %}
systemctl restart slurmd
{% else %}
postrotate /etc/init.d/slurm reconfig
......
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