diff --git a/roles/certbot/tasks/issue.yaml b/roles/certbot/tasks/issue.yaml index af40e59..c1e55ae 100644 --- a/roles/certbot/tasks/issue.yaml +++ b/roles/certbot/tasks/issue.yaml @@ -5,5 +5,5 @@ register: st - name: "request certificate for {{ item.domains | join(', ') }}" - command: "[[ ! -e certbot certonly --webroot -w {{ certbot_challenge_webroot_path }} --agree-tos --noninteractive --email {{ item.email }} -d {{ item.domains | join(',') }}" + command: "certbot certonly -q --webroot -w {{ certbot_challenge_webroot_path }} --agree-tos --noninteractive --email {{ item.email }} -d {{ item.domains | join(',') }}" when: not st.stat.exists