Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Commit

Permalink
Allow user defined post-provision-tasks to use tags while drupal vm d…
Browse files Browse the repository at this point in the history
…oes not
  • Loading branch information
oxyc authored and kekkis committed Feb 23, 2017
1 parent 12c1346 commit 26fe685
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions provisioning/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@
set_fact:
config_dir: "{{ playbook_dir }}/.."
when: config_dir is not defined
tags: ['always']

- include_vars: "{{ item }}"
with_fileglob:
- "{{ config_dir }}/config.yml"
- "{{ config_dir }}/local.config.yml"
- "{{ config_dir }}/{{ lookup('env', 'DRUPALVM_ENV')|default(drupalvm_env, true)|default(ansible_env.DRUPALVM_ENV)|default(omit) }}.config.yml"
tags: ['always']

- include: tasks/hostname.yml

Expand Down

0 comments on commit 26fe685

Please sign in to comment.