diff --git a/handlers/main.yml b/handlers/main.yml index 8b6f4f9ffe96681d8dacbc17cd395349440ff915..a7e5e2dd1bf0f0c44583ea45931ba7b80d17b698 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -1,4 +1,5 @@ --- # file: roles/letsencrypt/handler/main.yml -- import_tasks: ../../haproxy/handlers/main.yml +- name: Import HaProxy handlers + import_tasks: ../../haproxy/handlers/main.yml diff --git a/tasks/main.yml b/tasks/main.yml index c4c366300fdd5cd3a52954d8e64b05d0227f743e..b446133c7d68a02b80176e8f842f20562679516f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -23,21 +23,25 @@ tags: - renew - - import_tasks: install.yml + - name: Import install + import_tasks: install.yml - - include_tasks: cert.yml + - name: Include certs + include_tasks: cert.yml with_items: '{{ letsencrypt_certificates|default([]) }}' loop_control: loop_var: domain tags: - Certs - - import_tasks: renew.yml + - name: Import renew + 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 - - import_tasks: ../../haproxy/tasks/proxypool.yml + - name: Import HaProxy proxypool + import_tasks: ../../haproxy/tasks/proxypool.yml tags: - renew