diff --git a/defaults/main.yml b/defaults/main.yml index 782ad32..461ca0e 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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: diff --git a/tasks/lets_encrypt.yml b/tasks/lets_encrypt.yml index a1c11f5..bd77b56 100644 --- a/tasks/lets_encrypt.yml +++ b/tasks/lets_encrypt.yml @@ -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 @@ -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 }}"