Skip to content
Snippets Groups Projects
Commit 1a01abe9 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#72 Go back to includes for main.yml files

parent cd022daf
No related branches found
No related tags found
No related merge requests found
---
# file: roles/letsencrypt/handler/main.yml
- include_tasks: '../../haproxy/handlers/main.yml'
tags: 'always'
- include: '../../haproxy/handlers/main.yml'
......@@ -20,16 +20,14 @@
changed_when: false
tags: 'always'
- include_tasks: install.yml
tags: 'always'
- include: install.yml
- include_tasks: cert.yml
- include: cert.yml
with_items: '{{ letsencrypt_certificates|default([]) }}'
loop_control:
loop_var: domain
tags: 'always'
- include_tasks: renew.yml
- include: renew.yml
when: letsencrypt_certs_available is defined and letsencrypt_certs_available.stat.exists and (proxy_active is not defined or proxy_active)
tags: 'renew'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment