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

trying another package manager

Former-commit-id: 3f874307
parent 939485ca
No related branches found
No related tags found
No related merge requests found
......@@ -3,25 +3,22 @@
with_items:
- libcgroup
become: True
become_method: sudo
when: ansible_os_family == "RedHat"
- name: apt install cgroup
apt: name={{ item }} state=installed update_cache=yes
with_items:
package:
state: installed
name:
- libcgroup1
- cgroupfs-mount
- cgroup-tools
when: ansible_os_family == "Debian"
become: True
become_method: sudo
- name: config cgroup.conf file
template: dest={{ slurm_dir }}/etc/cgroup.conf src=cgroup.conf.j2 mode=644
become: True
become_method: sudo
- name: config cgroup_allowed_devices.conf file
template: dest={{ slurm_dir }}/etc/cgroup_allowed_devices.conf src=cgroup_allowed_devices.conf.j2 mode=644
become: True
become_method: sudo
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