Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Commit 3b9b024

Browse files
committed
Fixing Drupal 7 include in _init.
1 parent b3f0807 commit 3b9b024

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

roles/_init/tasks/custom.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
---
2-
3-
# Nothing to do here.
2+
# Nothing to do here.

roles/_init/tasks/drupal7.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
---
2-
- name: Define path to drush for this build.
3-
set_fact:
4-
drush_bin: "{{ drush_bin | default('{{ bin_directory }}/drush.phar') }}"
5-
6-
- name: Define path to drush for currently live build. # usually the same as drush_bin for Drupal 7
7-
set_fact:
8-
drush_live_bin: "{{ drush_live_bin | default('{{ bin_directory }}/drush.phar') }}"
2+
- name: Define paths to drush for this build.
3+
ansible.builtin.set_fact:
4+
drush_bin: "{{ drush_bin | default(bin_directory + '/drush.phar') }}"
5+
drush_live_bin: "{{ drush_live_bin | default(bin_directory + '/drush.phar') }}" # usually the same as drush_bin for Drupal 7
96

107
- name: Ensure we have a drush binary.
11-
import_role:
8+
ansible.builtin.import_role:
129
name: cli/drush
1310

1411
- name: Ensure we have a cachetool binary and configuration.

0 commit comments

Comments
 (0)