mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-04-19 17:01:37 +02:00
Only enable PowerTools on CentOS
The PowerTools repo exists only on CentOS, but the current selector ansible_os_family == 'RedHat' also evaluates to true on Fedora and RHEL, making this role fail. This patch switches the when statement to only evaluate to true if really running on CentOS, which I think was the intention
This commit is contained in:
parent
5ac9b8da7c
commit
a9609e1da6
@ -16,5 +16,5 @@
|
|||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- ansible_os_family == 'RedHat'
|
- ansible_distribution == 'CentOS'
|
||||||
- ansible_distribution_major_version | int >= 8
|
- ansible_distribution_major_version | int >= 8
|
||||||
|
Loading…
x
Reference in New Issue
Block a user