mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-04-19 17:01:37 +02:00
feature #174 support centos8-stream
This commit is contained in:
parent
fc4b51cbf7
commit
c84c59165f
@ -15,7 +15,7 @@
|
|||||||
register: dnf_module_enable
|
register: dnf_module_enable
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
when: ansible_facts['distribution_version'] is version('8.3', '>=')
|
when: ansible_facts['distribution_version'] is version('8.3', '>=') or ansible_facts['distribution_release'] in ['NA']
|
||||||
|
|
||||||
- name: Enable DNF module for CentOS 8.0–8.2.
|
- name: Enable DNF module for CentOS 8.0–8.2.
|
||||||
shell: |
|
shell: |
|
||||||
@ -25,7 +25,9 @@
|
|||||||
register: dnf_module_enable
|
register: dnf_module_enable
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
when: ansible_facts['distribution_version'] is version('8.2', '<=')
|
when:
|
||||||
|
- ansible_facts['distribution_version'] is version('8.2', '<=')
|
||||||
|
- ansible_facts['distribution_release'] not in ['NA']
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- ansible_distribution == 'CentOS'
|
- ansible_distribution == 'CentOS'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user