|
39 | 39 | # You can safely remove these steps once you have a working composer.json. |
40 | 40 | - name: Download composer file. |
41 | 41 | 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 |
43 | 43 | dest: "{{ deploy_path }}/composer.json" |
44 | 44 | 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 }}" |
45 | 65 | - name: Install drush. |
46 | 66 | community.general.composer: |
47 | 67 | command: require |
48 | | - arguments: drush/drush:11.* |
| 68 | + arguments: drush/drush:10.* |
49 | 69 | working_dir: "{{ deploy_path }}" |
50 | 70 | - name: Install localgov. |
51 | 71 | community.general.composer: |
|
0 commit comments