Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 538 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 538 Bytes

ansible-letsencrypt

sample role that uses letsencrypt ansible module (2.2 and higher)

Assumptions:

  • generate ssl keys/cert on localhost (place where you run ansible)
  • upload only key/cert to www host

Important before you start:

  • set {{ upload_files_to }} to host you deal with ssl (I use reverse proxy to offload ssl traffic)

  • generate your account.key for use with Let's Encrypt

  • set variables: gen_cert: True

    certaltnames: