Using ppa instead of Ubuntu provided package

This commit is contained in:
Unknown 2017-07-29 13:22:30 +02:00
parent f00a0ba181
commit 7a693c0960
3 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,3 @@
---
- name: Add Certbot-repository
apt_repository: repo='ppa:certbot/certbot' state=present

View File

@ -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"

View File

@ -1 +0,0 @@
certbot_package: letsencrypt