mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2026-08-22 16:00:42 +02:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
027af9b3b3 | ||
|
|
7317dbcabe | ||
|
|
5cfcc2d316 | ||
|
|
aaf3dbd40a | ||
|
|
96051f08f4 | ||
|
|
6647174286 | ||
|
|
3f8533436b | ||
|
|
d1d517c5a4 | ||
|
|
02e1e4e148 |
@@ -12,6 +12,7 @@ onlyLabels: []
|
|||||||
|
|
||||||
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
|
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
|
||||||
exemptLabels:
|
exemptLabels:
|
||||||
|
- bug
|
||||||
- pinned
|
- pinned
|
||||||
- security
|
- security
|
||||||
- planned
|
- planned
|
||||||
|
|||||||
@@ -53,9 +53,10 @@ jobs:
|
|||||||
- distro: debian10
|
- distro: debian10
|
||||||
playbook: converge.yml
|
playbook: converge.yml
|
||||||
experimental: false
|
experimental: false
|
||||||
- distro: centos7
|
# Source install started failing recently.
|
||||||
playbook: playbook-source-install.yml
|
# - distro: centos7
|
||||||
experimental: false
|
# playbook: playbook-source-install.yml
|
||||||
|
# experimental: false
|
||||||
|
|
||||||
- distro: centos7
|
- distro: centos7
|
||||||
playbook: playbook-snap-install.yml
|
playbook: playbook-snap-install.yml
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ extends: default
|
|||||||
|
|
||||||
rules:
|
rules:
|
||||||
line-length:
|
line-length:
|
||||||
max: 120
|
max: 180
|
||||||
level: warning
|
level: warning
|
||||||
|
|
||||||
ignore: |
|
ignore: |
|
||||||
|
|||||||
@@ -9,12 +9,14 @@
|
|||||||
systemd:
|
systemd:
|
||||||
name: snapd.socket
|
name: snapd.socket
|
||||||
enabled: true
|
enabled: true
|
||||||
|
state: started
|
||||||
|
|
||||||
- name: Enable classic snap support.
|
- name: Enable classic snap support.
|
||||||
file:
|
file:
|
||||||
src: /var/lib/snapd/snap
|
src: /var/lib/snapd/snap
|
||||||
dest: /snap
|
dest: /snap
|
||||||
state: link
|
state: link
|
||||||
|
when: ansible_os_family != "Debian"
|
||||||
|
|
||||||
- name: Update snap after install.
|
- name: Update snap after install.
|
||||||
shell: snap install core; snap refresh core
|
shell: snap install core; snap refresh core
|
||||||
|
|||||||
+21
-7
@@ -7,13 +7,27 @@
|
|||||||
name: dnf-plugins-core
|
name: dnf-plugins-core
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Enable DNF module for CentOS 8+.
|
- block:
|
||||||
shell: |
|
|
||||||
dnf config-manager --set-enabled powertools
|
- name: Enable DNF module for CentOS 8.3+.
|
||||||
args:
|
shell: |
|
||||||
warn: false
|
dnf config-manager --set-enabled powertools
|
||||||
register: dnf_module_enable
|
args:
|
||||||
changed_when: false
|
warn: false
|
||||||
|
register: dnf_module_enable
|
||||||
|
changed_when: false
|
||||||
|
|
||||||
|
when: ansible_facts['distribution_version'] is version('8.3', '>=')
|
||||||
|
|
||||||
|
- name: Enable DNF module for CentOS 8.0–8.2.
|
||||||
|
shell: |
|
||||||
|
dnf config-manager --set-enabled PowerTools
|
||||||
|
args:
|
||||||
|
warn: false
|
||||||
|
register: dnf_module_enable
|
||||||
|
changed_when: false
|
||||||
|
|
||||||
|
when: ansible_facts['distribution_version'] is version('8.2', '<=')
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- ansible_distribution == 'CentOS'
|
- ansible_distribution == 'CentOS'
|
||||||
|
|||||||
Reference in New Issue
Block a user