Skip to content

Commit

Permalink
fix conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
rodecker committed Nov 10, 2024
1 parent af0e89f commit 3c7aa74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/letsencrypt/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
state: latest

- include_tasks: dbmaster.yml
when: dbmaster == true
when: dbmaster is defined and dbmaster == true

- include_tasks: dbbackup.yml
when: dbbackup == true
when: dbbackup is defined and dbbackup == true

- name: "Check for existing certificates"
stat: path=/etc/letsencrypt/live/{{ item }}/cert.pem
Expand Down

0 comments on commit 3c7aa74

Please sign in to comment.