Skip to content
Snippets Groups Projects
Commit 09c89866 authored by Jeff Geerling's avatar Jeff Geerling
Browse files

Issue #107: PowerTools required to install via package on CentOS 8.

parent 60d805f4
No related branches found
Tags 3.1.0
No related merge requests found
---
extends: default
rules:
line-length:
max: 120
level: warning
ignore: |
.github/stale.yml
---
- import_tasks: include-vars.yml
- import_tasks: setup-RedHat.yml
when: ansible_os_family == 'RedHat'
- import_tasks: install-with-package.yml
when: not certbot_install_from_source
......
---
# See: https://github.com/geerlingguy/ansible-role-certbot/issues/107
- block:
- name: Ensure dnf-plugins are installed on CentOS 8+.
yum:
name: dnf-plugins-core
state: present
- name: Enable DNF module for CentOS 8+.
shell: |
dnf config-manager --set-enabled PowerTools
args:
warn: false
register: dnf_module_enable
changed_when: false
when:
- ansible_os_family == 'RedHat'
- ansible_distribution_major_version | int >= 8
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment