Skip to content

Commit

Permalink
Merge pull request #4 from sitewards/ad-hoc-update-agreement
Browse files Browse the repository at this point in the history
AD-HOC fix (Configuration): Update Lets Encrypt agreement
  • Loading branch information
andrewhowdencom authored Nov 15, 2017
2 parents 52f1cda + 095264a commit 9430046
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
## The python package for pyopenssl; a requirement for the openssl task
lets_encrypt_python_package: "python3-openssl"

lets_encrypt_agreement: "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf"

## The account email for Lets Encrypt.
## (Required)
# lets_encrypt_account_email:
Expand Down
2 changes: 2 additions & 0 deletions tasks/lets_encrypt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
account_email: "{{ lets_encrypt_account_email }}"
account_key: "/etc/ssl/private/lets_encrypt.key"
challenge: "{{ lets_encrypt_challenge_type }}"
agreement: "{{ lets_encrypt_agreement }}"
csr: "/etc/ssl/requests/{{ lets_encrypt_resource_name }}.csr"
dest: "/etc/ssl/certs/{{ lets_encrypt_resource_name }}.crt"
register: acme_data
Expand Down Expand Up @@ -89,6 +90,7 @@
acme_directory: "{{ lets_encrypt_directory }}"
account_key: "/etc/ssl/private/lets_encrypt.key"
challenge: "{{ lets_encrypt_challenge_type }}"
agreement: "{{ lets_encrypt_agreement }}"
csr: "/etc/ssl/requests/{{ lets_encrypt_resource_name }}.csr"
dest: "/etc/ssl/certs/{{ lets_encrypt_resource_name }}.crt"
data: "{{ acme_data }}"
Expand Down

0 comments on commit 9430046

Please sign in to comment.