diff --git a/tasks/main.yml b/tasks/main.yml index f91f64a..854d132 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -40,6 +40,7 @@ - name: Obtain certificates for domains ansible.builtin.command: >- {{ __lego_bin_file }} + --accept-tos --email="{{ lego_acme_account_email }}" --domains {{ " --domains ".join(item.domains) }} --key-type="{{ lego_key_type }}"