Using ppa instead of Ubuntu provided package

pull/31/head
Unknown 7 years ago
parent f00a0ba181
commit 7a693c0960
  1. 3
      tasks/install-with-package-ubuntu.yml
  2. 8
      tasks/install-with-package.yml
  3. 1
      vars/Ubuntu-16.04.yml

@ -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.
package: "name={{ certbot_package }} state=present"

@ -1 +0,0 @@
certbot_package: letsencrypt
Loading…
Cancel
Save