Skip to content

Commit 61db60d

Browse files
committed
Merge pull request geerlingguy#18 from benjifisher/d7_module_dir
D7 custom module directory fix.
2 parents 189ebfb + 122aae6 commit 61db60d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

provisioning/tasks/drupal.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@
4343
- name: Set the custom module directory path for Drupal < 8.
4444
set_fact:
4545
drupal_custom_modules_path: "{{ drupal_core_path }}/sites/all/modules/custom"
46-
when: drupal_major_version < 8
46+
when: drupal_major_version|int < 8
4747

48-
- name: Set the custom module directory path for Drupal < 8.
48+
- name: Set the custom module directory path for Drupal = 8.
4949
set_fact:
5050
drupal_custom_modules_path: "{{ drupal_core_path }}/modules/custom"
51-
when: drupal_major_version <= 8
51+
when: drupal_major_version|int == 8
5252

5353
- name: Symlink custom modules directory into place.
5454
file: >

0 commit comments

Comments
 (0)