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
26f955f1
Commit
26f955f1
authored
4 years ago
by
Andreas Hamacher
Browse files
Options
Downloads
Patches
Plain Diff
reducing unnecessary changed reports on ansible
Former-commit-id:
8e66601f
parent
b3e3982c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/extra_packages/tasks/main.yml
+4
-0
4 additions, 0 deletions
roles/extra_packages/tasks/main.yml
roles/gpu/tasks/main.yml
+3
-9
3 additions, 9 deletions
roles/gpu/tasks/main.yml
with
7 additions
and
9 deletions
roles/extra_packages/tasks/main.yml
+
4
−
0
View file @
26f955f1
...
...
@@ -8,12 +8,16 @@
become
:
true
become_user
:
root
when
:
ansible_os_family == 'RedHat'
changed_when
:
false
-
name
:
"
Clear
yum
pending
transactions"
command
:
yum-complete-transaction --cleanup-only
become
:
true
become_user
:
root
register
:
yumCompleteTransactioncall
when
:
ansible_os_family == 'RedHat'
changed_when
:
'
"No
unfinished
transactions
left."
not
in
yumCompleteTransactioncall.stdout'
-
name
:
"
Install
extra
packages"
yum
:
"
name={{
item
}}
exclude={{
excludes|join(',')
}}
update_cache=yes
state=present"
...
...
This diff is collapsed.
Click to expand it.
roles/gpu/tasks/main.yml
+
3
−
9
View file @
26f955f1
...
...
@@ -25,6 +25,7 @@
-
xorg-x11-xauth
-
xorg-x11-proto-devel
-
xorg-x11-xkb-utils
-
python-jinja2
when
:
ansible_os_family == 'RedHat'
-
name
:
install deps
...
...
@@ -41,6 +42,8 @@
-
'
libglvnd-dev'
-
'
xserver-xorg'
-
'
vim'
-
'
python-jinja2'
-
'
python3-jinja2'
state
:
present
update_cache
:
yes
become
:
true
...
...
@@ -213,15 +216,6 @@
# become: true
# become_user: root
# when: template_xorgconf is defined and template_xorgcon
-
name
:
install dependencies for nvidia-xconf-gen
apt
:
name
:
-
python-jinja2
-
python3-jinja2
update_cache
:
yes
state
:
present
become
:
true
become_user
:
root
-
name
:
run nvidia-xconf-gen
script
:
scripts/nvidia-xconf-gen.py
...
...
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