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

enabling ntpd and adding full pathes for linux nodes for slurm stuff

parent f45cefe5
No related branches found
No related tags found
2 merge requests!376Pipelinefix,!373Pipelinefix
This commit is part of merge request !373. Comments created here will be created in the context of that merge request.
......@@ -170,9 +170,9 @@ tests:
- ansible -i files/inventory.$STACKNAME --key-file ../gc_key.pem -a "sudo ls" all
- echo -e '[defaults]\r\nallow_world_readable_tmpfiles = True' > ansible.cfg
- ansible-playbook -i files/inventory.$STACKNAME --key-file ../gc_key.pem ./tests/mockSlurmData.yml
- ansible -B 30 -i files/inventory.$STACKNAME --key-file ../gc_key.pem -a "sinfo" ManagementNodes
- ansible -B 30 -i files/inventory.$STACKNAME --key-file ../gc_key.pem -a "squeue" ManagementNodes
- ansible -B 30 -i files/inventory.$STACKNAME --key-file ../gc_key.pem -a "scontrol ping" LoginNodes
- ansible -B 30 -i files/inventory.$STACKNAME --key-file ../gc_key.pem -a "/opt/slurm-19.05.4/bin/scontrol/sinfo" ManagementNodes
- ansible -B 30 -i files/inventory.$STACKNAME --key-file ../gc_key.pem -a "/opt/slurm-19.05.4/bin/scontrol/squeue" ManagementNodes
- ansible -B 30 -i files/inventory.$STACKNAME --key-file ../gc_key.pem -a "/opt/slurm-19.05.4/bin/scontrol/scontrol ping" LoginNodes
- ansible -B 30 -i files/inventory.$STACKNAME --key-file ../gc_key.pem -a "systemctl is-active --quiet ntpd" all
- ansible -B 30 -i files/inventory.$STACKNAME --key-file ../gc_key.pem -a "systemctl is-active --quiet mariadb" SQLNodes
- ansible -B 30 -i files/inventory.$STACKNAME --key-file ../gc_key.pem -a "systemctl is-active --quiet slurmctld" ManagementNodes
......
......@@ -24,8 +24,14 @@
become_user: root
notify: restart ntpd
- name: "enable ntp"
- name: "enable ntpd"
service: name=ntpd enabled=yes state=started
become: true
become_user: root
when: ansible_os_family == 'RedHat'
- name: "enable ntp"
service: name=ntp enabled=yes state=started
become: true
become_user: root
when: ansible_os_family == 'Debian'
\ No newline at end of file
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