--- - name: Make sure we have an email assert: that: - "certbot_register_email != ''" msg: "You need to provide an email address you own to register with Let's Encrypt." - name: Register with Let's Encrypt command: "{{ certbot_register_command }}" - name: Generate certificates command: "{{ certbot_cert_command }} -d {{ certbot_domains | join(' -d ') }}"