Skip to content

Commit 9ec2237

Browse files
committed
Issue geerlingguy#1076: Fix PHP modules not re-compiling on PHP version changes
1 parent 26b2dfe commit 9ec2237

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

default.config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ solr_xmx: "128M"
314314
selenium_version: 2.53.0
315315

316316
# Other configuration.
317+
workspace: "/root/php{{ php_version }}"
317318
dashboard_install_dir: /var/www/dashboard
318319
known_hosts_path: ~/.ssh/known_hosts
319320
#ssh_home: "{{ drupal_core_path }}"

provisioning/playbook.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@
3636
when: ansible_os_family == 'RedHat'
3737
static: no
3838

39+
- name: Ensure workspace directory exists.
40+
file:
41+
path: "{{ workspace }}"
42+
state: directory
43+
mode: 0775
44+
when: workspace is defined
45+
3946
- name: Run configured pre-provision shell scripts.
4047
script: "{{ item }}"
4148
with_items: "{{ pre_provision_scripts|default([]) }}"

0 commit comments

Comments
 (0)