Skip to content

Commit 2746cd5

Browse files
authored
Drupal template fixes pr 1.x (#135)
* Adding a Drupal 9 template to ce-dev. * Testing nodejs version change with blank template. * Incrementing version for release. * There's no drupal9 template for ce-deploy. * Updating Drupal templates. * Removing docs steps for ansible because they cannot work. * Suppressing unattended-upgrades. * Adding composer plugins to Drupal 8 deployments. * Adding the phpcodesniffer plugin for D8. * Updating PHP versions for templates. * Downgrading Drupal and drush for LGD.
1 parent 9e6df79 commit 2746cd5

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

templates/localgov/ce-dev/ansible/deploy.yml.j2

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,33 @@
3939
# You can safely remove these steps once you have a working composer.json.
4040
- name: Download composer file.
4141
ansible.builtin.get_url:
42-
url: https://raw.githubusercontent.com/drupal/recommended-project/10.1.x/composer.json
42+
url: https://raw.githubusercontent.com/drupal/recommended-project/9.1.x/composer.json
4343
dest: "{{ deploy_path }}/composer.json"
4444
force: false
45+
- name: Adding composer/installers plugin to composer config.
46+
community.general.composer:
47+
command: config
48+
arguments: allow-plugins.composer/installers true
49+
working_dir: "{{ deploy_path }}"
50+
- name: Adding drupal/core-composer-scaffold plugin to composer config.
51+
community.general.composer:
52+
command: config
53+
arguments: allow-plugins.drupal/core-composer-scaffold true
54+
working_dir: "{{ deploy_path }}"
55+
- name: Adding drupal/core-project-message plugin to composer config.
56+
community.general.composer:
57+
command: config
58+
arguments: allow-plugins.drupal/core-project-message true
59+
working_dir: "{{ deploy_path }}"
60+
- name: Adding dealerdirect/phpcodesniffer-composer-installer plugin to composer config.
61+
community.general.composer:
62+
command: config
63+
arguments: allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
64+
working_dir: "{{ deploy_path }}"
4565
- name: Install drush.
4666
community.general.composer:
4767
command: require
48-
arguments: drush/drush:11.*
68+
arguments: drush/drush:10.*
4969
working_dir: "{{ deploy_path }}"
5070
- name: Install localgov.
5171
community.general.composer:

0 commit comments

Comments
 (0)