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

ansible-playbooks/general#72 Replace include_tasks with import_tasks

parent 99d7693f
No related branches found
No related tags found
No related merge requests found
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
- block: - block:
- include_tasks: install.yml - import_tasks: install.yml
- include_tasks: configure.yml - import_tasks: configure.yml
tags: Config tags: Config
when: '"haproxy" not in excluded_roles' when: '"haproxy" not in excluded_roles'
...@@ -23,10 +23,10 @@ ...@@ -23,10 +23,10 @@
when: domain.letsencrypt|default(false) and domain.active|default(true) when: domain.letsencrypt|default(false) and domain.active|default(true)
- name: "Renew Existing Cert" - name: "Renew Existing Cert"
include_tasks: '../../letsencrypt/tasks/renew.yml' import_tasks: '../../letsencrypt/tasks/renew.yml'
- name: "Build HaCerts" - name: "Build HaCerts"
include_tasks: 'buildcerts.yml' import_tasks: 'buildcerts.yml'
- name: "Set directory permissions to current user" - name: "Set directory permissions to current user"
file: file:
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
- block: - block:
- name: "Pull Certs from active Proxy" - name: "Pull Certs from active Proxy"
include_tasks: 'pullcerts.yml' import_tasks: 'pullcerts.yml'
tags: Certs tags: Certs
when: 'not proxy_active and "letsencrypt" not in excluded_roles' when: 'not proxy_active and "letsencrypt" not in excluded_roles'
......
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