ansible/roles/letsencrypt/tasks/main.yml in subspace-2.5.1 vs ansible/roles/letsencrypt/tasks/main.yml in subspace-2.5.2

- old
+ new

@@ -42,10 +42,10 @@ state: stopped - name: Run default when: le_ssl_certs is not defined become: true - command: "{{certbot_bin}} certonly --email {{letsencrypt_email}} --domains {{([server_name] + server_aliases) | join(',')}} --standalone --agree-tos --expand --non-interactive" + command: "{{certbot_bin}} certonly --email {{letsencrypt_email}} --domains {{([server_name] + server_aliases) | join(',')}} --cert-name {{server_name}} --standalone --agree-tos --expand --non-interactive" - name: Generate SSL Certificates become: true with_items: "{{le_ssl_certs|default([])}}" command: "{{certbot_bin}} certonly --email {{letsencrypt_email}} --domains {{item.domains | join(',')}} --cert-name {{item.cert_name}} --standalone --agree-tos --expand --non-interactive" \ No newline at end of file