Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
HPCasCode
Commits
518f900f
Commit
518f900f
authored
4 years ago
by
Andreas Hamacher
Browse files
Options
Downloads
Patches
Plain Diff
trying another package manager
Former-commit-id:
3f874307
parent
939485ca
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/slurm-common/tasks/installCgroup.yml
+3
-6
3 additions, 6 deletions
roles/slurm-common/tasks/installCgroup.yml
with
3 additions
and
6 deletions
roles/slurm-common/tasks/installCgroup.yml
+
3
−
6
View file @
518f900f
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment