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
8619cec7
Commit
8619cec7
authored
5 years ago
by
Simon Michnowicz
Browse files
Options
Downloads
Patches
Plain Diff
Removed unecessary 2nd task as extra_packages is only for epel
parent
66896e7e
No related branches found
Branches containing commit
No related tags found
1 merge request
!255
Add epel to extra packages
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/extra_packages/tasks/main.yml
+1
-9
1 addition, 9 deletions
roles/extra_packages/tasks/main.yml
with
1 addition
and
9 deletions
roles/extra_packages/tasks/main.yml
+
1
−
9
View file @
8619cec7
...
@@ -13,20 +13,12 @@
...
@@ -13,20 +13,12 @@
sudo
:
true
sudo
:
true
when
:
ansible_os_family == 'RedHat'
when
:
ansible_os_family == 'RedHat'
-
name
:
"
Install
extra
packages"
yum
:
"
name={{
item
}}
exclude={{
excludes|join(',')
}}
update_cache=yes
state=present"
with_items
:
"
{{
extra_packages
}}"
become
:
true
become_user
:
root
when
:
ansible_os_family == 'RedHat' and useEpel is not defined
register
:
result
-
name
:
"
Install
extra
packages
with
the
epel
repo
enabled"
-
name
:
"
Install
extra
packages
with
the
epel
repo
enabled"
yum
:
"
name={{
item
}}
exclude={{
excludes|join(',')
}}
update_cache=yes
state=present
enablerepo=epel"
yum
:
"
name={{
item
}}
exclude={{
excludes|join(',')
}}
update_cache=yes
state=present
enablerepo=epel"
with_items
:
"
{{
extra_packages
}}"
with_items
:
"
{{
extra_packages
}}"
become
:
true
become
:
true
become_user
:
root
become_user
:
root
when
:
ansible_os_family == 'RedHat'
and useEpel is defined
when
:
ansible_os_family == 'RedHat'
register
:
result
register
:
result
-
name
:
"
Show
yum
install
output"
-
name
:
"
Show
yum
install
output"
...
...
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