mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-04-19 17:01:37 +02:00
Merge 7a693c096093a6bd5fee6bba23b6fa1aed548cc5 into f00a0ba181c826773cbd2f3a5052deab1fa704f0
This commit is contained in:
commit
a3a7113f8c
3
tasks/install-with-package-ubuntu.yml
Normal file
3
tasks/install-with-package-ubuntu.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
- name: Add Certbot-repository
|
||||||
|
apt_repository: repo='ppa:certbot/certbot' state=present
|
@ -1,4 +1,12 @@
|
|||||||
---
|
---
|
||||||
|
- name: Load a tasks file based on the OS type.
|
||||||
|
include: "{{ item }}"
|
||||||
|
with_first_found:
|
||||||
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml"
|
||||||
|
- "{{ ansible_distribution }}.yml"
|
||||||
|
- "{{ ansible_os_family }}.yml"
|
||||||
|
ignore_errors: true
|
||||||
|
|
||||||
- name: Install Certbot.
|
- name: Install Certbot.
|
||||||
package: "name={{ certbot_package }} state=present"
|
package: "name={{ certbot_package }} state=present"
|
||||||
|
|
||||||
|
@ -1 +0,0 @@
|
|||||||
certbot_package: letsencrypt
|
|
Loading…
x
Reference in New Issue
Block a user