[playbook,drupal] install actually installable version of drupal and drush
This commit is contained in:
parent
d6b902e204
commit
b29daca8a3
1 changed files with 2 additions and 2 deletions
|
@ -134,7 +134,7 @@
|
||||||
- name: Create Drupal project.
|
- name: Create Drupal project.
|
||||||
community.general.composer:
|
community.general.composer:
|
||||||
command: create-project
|
command: create-project
|
||||||
arguments: drupal/recommended-project:^9 "{{ drupal_core_path }}"
|
arguments: drupal/recommended-project:^10 "{{ drupal_core_path }}"
|
||||||
working_dir: "{{ drupal_core_path }}"
|
working_dir: "{{ drupal_core_path }}"
|
||||||
no_dev: true
|
no_dev: true
|
||||||
become_user: www-data
|
become_user: www-data
|
||||||
|
@ -151,7 +151,7 @@
|
||||||
- name: Add drush to the Drupal site with composer.
|
- name: Add drush to the Drupal site with composer.
|
||||||
community.general.composer:
|
community.general.composer:
|
||||||
command: require
|
command: require
|
||||||
arguments: "drush/drush:^11"
|
arguments: "drush/drush"
|
||||||
working_dir: "{{ drupal_core_path }}"
|
working_dir: "{{ drupal_core_path }}"
|
||||||
become_user: www-data
|
become_user: www-data
|
||||||
when: not drupal_composer_json.stat.exists
|
when: not drupal_composer_json.stat.exists
|
||||||
|
|
Loading…
Add table
Reference in a new issue