- name: Add Oauth token to config
  shell: "composer config --global github-oauth.github.com {{ github_oauth_token }}"
  tags:
    - orchard-ows-carveouts-init
    - orchard-ows-carveouts-composer
- name: Global discard local changes in vendors
  shell: "composer config --global discard-changes true"
#  become: true
  tags:
    - orchard-ows-carveouts-init
    - orchard-ows-carveouts-composer
- name: Install required composer settings
  composer:
    command: update
    working_dir: "{{ orchard_ows_carveouts_document_root }}"
    prefer_dist: yes
#  become: true
  tags:
    - orchard-ows-carveouts-init
    - orchard-ows-carveouts-composer
