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

ansible-playbooks/general#72 Replace include_tasks with import_tasks

parent 31650938
No related branches found
No related tags found
No related merge requests found
---
# file: roles/drupal/tasks/config_collect/commit/gitflow.yml
- include_tasks: 'git.yml'
- import_tasks: 'git.yml'
......@@ -20,7 +20,7 @@
- block:
- include_tasks: 'prepare/{{ collectConfig.mode|default("none") }}.yml'
- import_tasks: 'prepare/{{ collectConfig.mode|default("none") }}.yml'
- name: "Move exported config to working copy"
command: 'mv {{ pathExport }} {{ pathWorking }}'
......@@ -36,9 +36,9 @@
remote_src: yes
with_items: '{{ list_config_files.stdout_lines }}'
- include_tasks: 'commit/{{ collectConfig.mode|default("none") }}.yml'
- import_tasks: 'commit/{{ collectConfig.mode|default("none") }}.yml'
- include_tasks: 'finish/{{ collectConfig.mode|default("none") }}.yml'
- import_tasks: 'finish/{{ collectConfig.mode|default("none") }}.yml'
- name: "Delete working copy"
file:
......
......@@ -58,17 +58,17 @@
when: drupal_install_drupal and drupal_available is defined and drupal_available.stdout != [drupalRoot, '/index.php']|join('')
tags: always
- include_tasks: install/{{ installSource.mode|default("none") }}.yml
- import_tasks: install/{{ installSource.mode|default("none") }}.yml
when: drupal_first_installation
- include_tasks: install/{{ drupal.version|default("d7") }}.yml
- import_tasks: install/{{ drupal.version|default("d7") }}.yml
when: drupal_first_installation
- include_tasks: deploy/{{ installSource.mode|default("none") }}.yml
- import_tasks: deploy/{{ installSource.mode|default("none") }}.yml
when: drupal_install_drupal
tags: 'deploy'
- include_tasks: deploy/{{ drupal.version|default("d7") }}.yml
- import_tasks: deploy/{{ drupal.version|default("d7") }}.yml
when: drupal_install_drupal
tags: 'deploy'
......@@ -86,7 +86,7 @@
loop_var: scss_dir
tags: 'deploy'
- include_tasks: users/{{ installSource.mode|default("none") }}.yml
- import_tasks: users/{{ installSource.mode|default("none") }}.yml
when: drupal_install_drupal and drupal.src is defined and drupal.src.name is defined
tags: 'SetPermissions'
......@@ -152,7 +152,7 @@
with_items: '{{ drupal.domains }}'
when: item.install|default(true)
- include_tasks: deploy/finalize_{{ drupal.version|default("d7") }}.yml
- import_tasks: deploy/finalize_{{ drupal.version|default("d7") }}.yml
when: drupal_install_drupal
tags: 'deploy'
......
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