Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
ansible-role-certbot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
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
Calyx Institute
CalyxOS
ansible-role-certbot
Commits
09c89866
Commit
09c89866
authored
4 years ago
by
Jeff Geerling
Browse files
Options
Downloads
Patches
Plain Diff
Issue #107: PowerTools required to install via package on CentOS 8.
parent
60d805f4
No related branches found
Branches containing commit
Tags
3.1.0
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.yamllint
+4
-0
4 additions, 0 deletions
.yamllint
tasks/main.yml
+3
-0
3 additions, 0 deletions
tasks/main.yml
tasks/setup-RedHat.yml
+20
-0
20 additions, 0 deletions
tasks/setup-RedHat.yml
with
27 additions
and
0 deletions
.yamllint
+
4
−
0
View file @
09c89866
---
extends: default
rules:
line-length:
max: 120
level: warning
ignore: |
.github/stale.yml
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
3
−
0
View file @
09c89866
---
-
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
...
...
This diff is collapsed.
Click to expand it.
tasks/setup-RedHat.yml
0 → 100644
+
20
−
0
View file @
09c89866
---
# 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
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