Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
uib-ub
Drift
roller-ansible
centos8
Commits
4ddeb992
Commit
4ddeb992
authored
Oct 11, 2021
by
fedora Cloud User
Browse files
add possibility to override powertools path (different filename for stream)
parent
6ebd1140
Pipeline
#101129
failed with stage
in 2 minutes and 21 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
tasks/main.yml
View file @
4ddeb992
...
...
@@ -9,11 +9,6 @@
when
:
"
volumes
|
length
>
0
and
nrec_instance
|
bool"
become
:
true
-
name
:
"
install
dependencies
{{
centos8_dependencies
}}"
dnf
:
name
:
"
{{
centos8_dependencies
}}"
become
:
true
-
name
:
"
cron
job
for
yum
update
and
rebooting
on
kernel
changes"
cron
:
name
:
"
reboot
on
change
needed"
...
...
@@ -47,7 +42,7 @@
# from https://github.com/robertdebock/ansible-role-powertools/blob/master/tasks/main.yml
-
name
:
enable powertools
ini_file
:
path
:
/etc/yum.repos.d/CentOS-Linux-PowerTools.repo
path
:
"
{{
powertools_path
|
default('
/etc/yum.repos.d/CentOS-Linux-PowerTools.repo
')
}}"
section
:
powertools
option
:
enabled
value
:
"
1"
...
...
@@ -57,6 +52,11 @@
when
:
"
powertools
|
default(false)
|
bool"
become
:
true
-
name
:
"
install
dependencies
{{
centos8_dependencies
}}"
dnf
:
name
:
"
{{
centos8_dependencies
}}"
become
:
true
-
name
:
"
install
moreutils
(chronic)"
yum
:
name
:
"
moreutils"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment