geerlingguy / ansible-role-drupal

Ansible Role - Drupal
https://galaxy.ansible.com/geerlingguy/drupal/
MIT License
92 stars 51 forks source link

Make composer a dependency #88

Closed cjohannsen81 closed 3 years ago

cjohannsen81 commented 3 years ago

When drupal_build_composer_project: true is set in the role, the composer_path variable is used from the Composer role.

- name: Install dependencies with composer require (this may take a while).
  command: "{{ composer_path }} require {{ item }} -d {{ drupal_composer_install_dir }}"
  register: composer_require_result
  changed_when: "'Nothing to install' not in composer_require_result.stderr"
  with_items: "{{ drupal_composer_dependencies|default([]) }}"
  become: false
  environment:
    COMPOSER_PROCESS_TIMEOUT: 1200
    COMPOSER_MEMORY_LIMIT: '-1'
stale[bot] commented 3 years ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale[bot] commented 3 years ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.