Skip to content

Commit

Permalink
Installe certbot
Browse files Browse the repository at this point in the history
  • Loading branch information
philippemilink committed Oct 20, 2023
1 parent dbe2e07 commit 784ab66
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions roles/web/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
pkg: nginx
cache_valid_time: 3600

- name: install certbot
ansible.builtin.apt:
pkg: cerbot
cache_valid_time: 3600
when: certificate is defined

- name: check if tls certificate is present
ansible.builtin.stat:
path: "{{ certificate.cert }}"
Expand Down

0 comments on commit 784ab66

Please sign in to comment.