---

- name: Configure github oauth token
  template:
    src: ".composer/auth.json.j2"
    dest: "~/.composer/auth.json"
  when: composer_github_oauth != false

---

- name: Configure github oauth token
  template:
    src: ".composer/auth.json.j2"
    dest: "{{ composer_home_path|default('~/.composer') }}/auth.json"
  when: composer_github_oauth != false

Use 'composer_home_path' during auth.json generation
Use 'composer_home_path' during auth.json generation
