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

Merge pull request #137 from CVL-GitHub/hpcidbranch10

fixed centos 7 service restart
parents afcf1c17 67ff7951
No related branches found
No related tags found
No related merge requests found
......@@ -60,8 +60,8 @@
- name: restart_host
command: shutdown -r now "Reboot triggered by Ansible"
async: 0
poll: 0
async: 900
poll: 60
sudo: true
ignore_errors: true
when: has_been_compiled | failed
......
......@@ -20,7 +20,7 @@
{% endif %}
{% endif %}
{% if ansible_os_family == 'RedHat' and ansible_distribution_version >= '7' %}
systemctl restart slurmd
systemctl restart slurmctld
{% 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