mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-04-19 17:01:37 +02:00
Only apply package install config when on Fedora or RedHat
This commit is contained in:
parent
33724b0a93
commit
314ea208c2
@ -1,9 +1,9 @@
|
||||
---
|
||||
- include: install-from-package.yml
|
||||
when: not certbot_from_git
|
||||
when: not certbot_from_git and (ansible_distribution == 'Fedora' or ansible_distribution == 'RedHat')
|
||||
|
||||
- include: install-from-git.yml
|
||||
when: certbot_from_git
|
||||
when: certbot_from_git or (ansible_distribution == 'Ubuntu')
|
||||
|
||||
- include: renew-cron.yml
|
||||
when: certbot_auto_renew
|
||||
|
Loading…
x
Reference in New Issue
Block a user