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

requesting config from secondary controller via tags=

parent d479e118
No related branches found
No related tags found
1 merge request!498requesting config from secondary controller via tags=
......@@ -43,6 +43,12 @@
when: use_systemd is defined and start_slurmd is defined
register: slurmd_service_installed
- name: copy slurmd.service backup
template: dest=/etc/systemd/system/slurmd.service src=slurmd.service.secondary.j2 mode=644
become: true
register: slurmd_service_installed
tags: [never,DEPLOYSLURMDSERVICEBACKUP]
- name: deploy glusterfsheltest
template: dest=/etc/systemd/system/glusterfsheltest.sh src=templates/glusterfsheltest.sh.j2 mode=744
become: true
......
[Unit]
Description=Slurm node daemon
After=network.target
# After Slurm-20.02 (configless), this is not needed
# ConditionPathExists={{ slurm_dir }}/etc/slurm.conf
[Service]
Type=forking
KillMode=process
LimitMEMLOCK=infinity
#EnvironmentFile=/etc/default/slurmd
#ExecStart={{ slurm_dir }}/sbin/slurmd $SLURMD_OPTIONS # before slurm20
ExecStart={{ slurm_dir }}/sbin/slurmd --conf-server {{ slurmctrlbackup }}:6817
PIDFile={{ slurmpiddir }}/slurmd.pid
[Install]
WantedBy=multi-user.target
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