Commit 4ddeb992 authored by fedora Cloud User's avatar 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
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment