Skip to content

Commit

Permalink
disable certbot register temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
Cugniere committed Sep 6, 2023
1 parent 98a3870 commit 7e15d4b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions roles/bootstrap/tasks/install_certbot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,6 @@
ansible.builtin.apt:
name: [certbot, python3-certbot-nginx]
state: present
- name: Register certbot
ansible.builtin.command: >
certbot register
--non-interactive
--agree-tos
--email {{ email }}
register: certbot_register
changed_when: "'Account registered' not in certbot_register.stdout"
failed_when: "'Account registered' not in certbot_register.stdout and 'registration of a duplicate account' not in certbot_register.stderr"
- name: Setup cron job for automatic certificate renewal
ansible.builtin.cron:
name: Certbot Auto Renewal
Expand Down

0 comments on commit 7e15d4b

Please sign in to comment.