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
2941c650
Commit
2941c650
authored
5 years ago
by
Andreas Hamacher
Browse files
Options
Downloads
Plain Diff
merge from master
parents
b471a134
828be444
No related branches found
No related tags found
1 merge request
!297
Cicd merge back
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/extra_packages/README.md
+10
-0
10 additions, 0 deletions
roles/extra_packages/README.md
roles/extra_packages/tasks/main.yml
+3
-3
3 additions, 3 deletions
roles/extra_packages/tasks/main.yml
with
13 additions
and
3 deletions
roles/extra_packages/README.md
+
10
−
0
View file @
2941c650
This role adds all the packages we think are useful but aren't clearly a dependency of some function.
Before calling, you may want to define the following lists:
extra_packages #list of yum packages. Or see code on how to it loads an alternative file if not defined
exclude #list of packages to exclude
Usage:
roles:
-
{ role: extra_packages, tags: [ other, extra_packages ] }
This diff is collapsed.
Click to expand it.
roles/extra_packages/tasks/main.yml
+
3
−
3
View file @
2941c650
...
...
@@ -13,12 +13,12 @@
become
:
true
when
:
ansible_os_family == 'RedHat'
-
name
:
"
Install
extra
packages"
yum
:
"
name={{
item
}}
update_cache=yes
state=present
enablerepo=epel"
# exclude={{ excludes|join(',') }}
-
name
:
"
Install
extra
packages
with
the
epel
repo
enabled
"
yum
:
"
name={{
item
}}
exclude={{
excludes|join(',')
}}
update_cache=yes
state=present
enablerepo=epel"
with_items
:
"
{{
extra_packages
}}"
become
:
true
become_user
:
root
when
:
ansible_os_family == 'RedHat'
when
:
ansible_os_family == 'RedHat'
register
:
result
-
name
:
"
Install
extra
packages
from
epel
only"
...
...
This diff is collapsed.
Click to expand it.
Andreas Hamacher
@handreas
mentioned in commit
e4a0c940
·
4 years ago
mentioned in commit
e4a0c940
mentioned in commit e4a0c94014319b71af73a6cfe3164f8326b0a084
Toggle commit list
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