diff --git a/roles/drone/tasks/apache.yml b/roles/drone/tasks/apache.yml index bc761aa..cea1d7a 100644 --- a/roles/drone/tasks/apache.yml +++ b/roles/drone/tasks/apache.yml @@ -16,7 +16,7 @@ cmd: a2ensite {{ ci_domain }}.conf - name: run certbot command: - cmd: certbot --apache --non-interactive --keep-until-expiring --no-eff-mail --email {{ admin_mail }} --redirect --renew-with-new-domains --agree-tos -d {{ ci_domain }} + cmd: certbot --apache --non-interactive --keep-until-expiring --no-eff-email --email {{ admin_mail }} --redirect --renew-with-new-domains --agree-tos -d {{ ci_domain }} when: ansible_domain != 'dev' - include: ssl-dev.yml when: ansible_domain == 'dev' @@ -31,4 +31,3 @@ command: cmd: a2ensite {{ ci_domain }}-le-ssl.conf notify: restart apache -