source: main/waeup-ansible/letsencrypt.yml @ 14833

Last change on this file since 14833 was 14706, checked in by uli, 8 years ago

Add ansible role for installing letsencrypt (LE)

The letsencrypt.yml playbook is there to trigger the
letsencrypt role. It sets some important vars.

Putting all this into an own role might be overkill,
but it is good to have at least something
letsencrypt-related in the repo.

All this might be better placed in a single playbook.

File size: 726 bytes
Line 
1---
2# This ansible-playbook installs letsencrypt certs
3#
4# What it does:
5#   - registers LE account
6#   - requests/creates first-time certificates
7#   - requests new certs if list of domains changed
8##
9# REVIEW/EDIT THE VARS BELOW BEFORE RUNNING!
10# ALL DOMAINS MUST BE REGISTERED FOR TARGET HOST IN DNS!
11#
12# It will normally be run like this:
13#
14#  ansible-playbook -b -i h8.waeup.org, letsencrypt.yml
15#
16- hosts: h8.waeup.org
17  vars:
18    letsencrypt_email: 'uli@gnufix.de'
19    letsencrypt_domains: 'h8.waeup.org,v2.waeup.org,v3.waeup.org,gopinkdreams.com,www.gopinkdreams.com'
20    # set to true if you got some LE certs already, but the list of domains expanded
21    letsencrypt_expand_domains: false
22  roles:
23    - letsencrypt
Note: See TracBrowser for help on using the repository browser.