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
e8a7f328
Commit
e8a7f328
authored
5 years ago
by
Andreas Hamacher
Browse files
Options
Downloads
Patches
Plain Diff
introducing a second var in c7packages to differenciate between source repositories
parent
01aa1ece
No related branches found
No related tags found
1 merge request
!297
Cicd merge back
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/extra_packages/tasks/main.yml
+8
-1
8 additions, 1 deletion
roles/extra_packages/tasks/main.yml
with
8 additions
and
1 deletion
roles/extra_packages/tasks/main.yml
+
8
−
1
View file @
e8a7f328
...
...
@@ -14,13 +14,20 @@
when
:
ansible_os_family == 'RedHat'
-
name
:
"
Install
extra
packages"
yum
:
"
name={{
item
}}
exclude={{
excludes|join(',')
}}
update_cache=yes
state=present"
yum
:
"
name={{
item
}}
update_cache=yes
state=present
enablerepo=epel"
#
exclude={{ excludes|join(',') }}
with_items
:
"
{{
extra_packages
}}"
become
:
true
become_user
:
root
when
:
ansible_os_family == 'RedHat'
register
:
result
-
name
:
"
Install
extra
packages
from
epel
only"
yum
:
"
name={{
item
}}
update_cache=yes
state=present
enablerepo=epel"
# exclude={{ excludes|join(',') }}
with_items
:
"
{{
extra_packages_epel
}}"
become
:
true
become_user
:
root
when
:
ansible_os_family == 'RedHat'
-
name
:
"
Show
yum
install
output"
debug
:
msg
:
"
{{
result.results
}}"
...
...
This diff is collapsed.
Click to expand it.
Andreas Hamacher
@handreas
mentioned in commit
358a0c31
·
4 years ago
mentioned in commit
358a0c31
mentioned in commit 358a0c31a370ff8dd7234355c7beb12c6f21ad64
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