diff --git a/tasks/main.yml b/tasks/main.yml index 477bd2195b26ea53021de880bc592ca0e2c2f2c6..2e8732871f42ed6584fc5f3377d050e606987598 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -10,7 +10,7 @@ - include_tasks: install.yml tags: 'always' - include_tasks: configure.yml - tags: Config + tags: 'Config' when: '"haproxy" not in excluded_roles' @@ -37,17 +37,17 @@ path: '/etc/letsencrypt' owner: '{{ ansible_env.SUDO_USER }}' recurse: yes - tags: Certs + tags: 'Certs' when: proxy_active - tags: Certs + tags: 'Certs' when: 'proxy_active and "letsencrypt" not in excluded_roles' - block: - name: "Pull Certs from active Proxy" include_tasks: 'pullcerts.yml' - tags: Certs + tags: 'Certs' when: 'not proxy_active and "letsencrypt" not in excluded_roles' @@ -56,5 +56,5 @@ path: '/etc/letsencrypt' owner: 'root' recurse: yes - tags: Certs + tags: 'Certs' when: 'proxy_active and "letsencrypt" not in excluded_roles'