diff --git a/tasks/main.yml b/tasks/main.yml index 94a3243bc648c842ddf38d833704342c93266a58..fdcee033792a8d455e332279c314be7b17d4f6ee 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -7,8 +7,8 @@ - block: - - include_tasks: install.yml - - include_tasks: configure.yml + - import_tasks: install.yml + - import_tasks: configure.yml tags: Config when: '"haproxy" not in excluded_roles' @@ -23,10 +23,10 @@ when: domain.letsencrypt|default(false) and domain.active|default(true) - name: "Renew Existing Cert" - include_tasks: '../../letsencrypt/tasks/renew.yml' + import_tasks: '../../letsencrypt/tasks/renew.yml' - name: "Build HaCerts" - include_tasks: 'buildcerts.yml' + import_tasks: 'buildcerts.yml' - name: "Set directory permissions to current user" file: @@ -42,7 +42,7 @@ - block: - name: "Pull Certs from active Proxy" - include_tasks: 'pullcerts.yml' + import_tasks: 'pullcerts.yml' tags: Certs when: 'not proxy_active and "letsencrypt" not in excluded_roles'