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

ansible-playbooks/general#72 Replace include_tasks with import_tasks

parent 592013db
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'
- import_tasks: '../../haproxy/handlers/main.yml'
......@@ -20,14 +20,14 @@
changed_when: false
tags: 'always'
- include_tasks: install.yml
- import_tasks: install.yml
- include: cert.yml
with_items: '{{ letsencrypt_certificates|default([]) }}'
loop_control:
loop_var: domain
- include_tasks: renew.yml
- import_tasks: 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'
......
......@@ -34,7 +34,7 @@
state: 'absent'
- name: "Build HaProxy Certs"
include_tasks: '../../haproxy/tasks/buildcerts.yml'
import_tasks: '../../haproxy/tasks/buildcerts.yml'
- name: "Start services"
service:
......
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