---

- name: Install packages
  composer:
    working_dir: "{{ item.path }}"
    command: "install"
  with_items: items.results | map(attribute='ansible_facts') | byattr("state", "present") | notbyattr("npm", false) | list
  when: item.composer != false

---

- name: Install packages
  composer:
    working_dir: "{{ item.path }}"
    command: "install"
  with_items: items.results | map(attribute='ansible_facts') | byattr("state", "present") | notbyattr("composer", false) | list
  when: item.composer != false

Fix typo in composer role
Fix typo in composer role
