Skip to content

Commit

Permalink
fix: cerbot add --agree-tos parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
adf-patrickha committed Aug 13, 2024
1 parent b90799e commit 0024950
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tasks/letsencrypt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@
- name: letsencrypt | Generate cerbot certificate for Apache
ansible.builtin.command:
argv:
- certbot -n
- certbot
- -n
- --apache
- "-d {{ bareos_webui_letsencrypt_domain }}"
- "-m {{ bareos_webui_letsencrypt_account_mail }}"
- --agree-tos
- -d
- "{{ bareos_webui_letsencrypt_domain }}"
- -m
- "{{ bareos_webui_letsencrypt_account_mail }}"
register: _le_output
changed_when: _le_output.rc != 0
notify:
Expand Down

0 comments on commit 0024950

Please sign in to comment.