diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2015-12-20 14:42:25 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-12-20 14:43:04 +0100 |
commit | e7acd4d1041ba63af521b2f8168ea305ebb913d1 (patch) | |
tree | 003b5fb4d3922e6073ffb2a2452c7802e62c9ed0 /common.yml | |
parent | 57b6f18675da62363c4c35a5d62f3a4e4a2cc69a (diff) |
Copy and install Let's Encrypt ACME client.
Diffstat (limited to 'common.yml')
-rw-r--r-- | common.yml | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -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 |