From ed8cf1de7e87ff6496db46f17fb4bcfc90ccf48f Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sat, 27 Feb 2016 00:45:50 +0100 Subject: Let's Encrypt --- common.yml | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) (limited to 'common.yml') diff --git a/common.yml b/common.yml index cdf4372..2a062ee 100644 --- a/common.yml +++ b/common.yml @@ -12,30 +12,11 @@ roles: - common -- name: Base system +- name: Let's Encrypt hosts: IMAP:MX:MSA:webmail:lists:wiki:git gather_facts: False - tasks: - - name: Install dependencies for letsencrypt-tiny - apt: pkg={{ item }} - with_items: - - liblwp-protocol-https-perl - - socat - - name: Copy LetsEncrypt's ACME client - copy: src=deb/letsencrypt-tiny_0.1-1_all.deb - dest=/tmp - notify: Install LetsEncrypt's ACME client - - name: Create a user 'letsencrypt' - user: name=letsencrypt system=yes - group=nogroup - createhome=no - home=/nonexistent - shell=/usr/sbin/nologin - password=! - state=present - handlers: - - name: Install LetsEncrypt's ACME client - apt: deb=/tmp/letsencrypt-tiny_0.1-1_all.deb + roles: + - letsencrypt tags: - letsencrypt -- cgit v1.2.3