[playbook,drupal] install actually installable version of drupal and drush

This commit is contained in:
bronsen 2025-03-03 22:09:04 +01:00
parent d6b902e204
commit b29daca8a3

View file

@ -134,7 +134,7 @@
- name: Create Drupal project.
community.general.composer:
command: create-project
arguments: drupal/recommended-project:^9 "{{ drupal_core_path }}"
arguments: drupal/recommended-project:^10 "{{ drupal_core_path }}"
working_dir: "{{ drupal_core_path }}"
no_dev: true
become_user: www-data
@ -151,7 +151,7 @@
- name: Add drush to the Drupal site with composer.
community.general.composer:
command: require
arguments: "drush/drush:^11"
arguments: "drush/drush"
working_dir: "{{ drupal_core_path }}"
become_user: www-data
when: not drupal_composer_json.stat.exists