From e7acd4d1041ba63af521b2f8168ea305ebb913d1 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sun, 20 Dec 2015 14:42:25 +0100 Subject: Copy and install Let's Encrypt ACME client. --- common.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'common.yml') diff --git a/common.yml b/common.yml index bd2f3db..d689e04 100644 --- a/common.yml +++ b/common.yml @@ -12,6 +12,29 @@ roles: - common +- name: Base system + hosts: IMAP:MX:MSA:webmail:lists:wiki:git + gather_facts: False + tasks: + - name: Copy LetsEncrypt's ACME client + copy: src=deb/letsencrypt-tiny_0.1-1_all.deb + dest=/tmp + notify: Install LetsEncrypt's ACME client + - genkey + - 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 + tags: + - letsencrypt + - name: Common SQL tasks hosts: MDA:webmail:lists:bacula-dir gather_facts: False -- cgit v1.2.3