Getting multipath output from servers with Ansible

Simple Ansible playbook to gather and display multipath output from multiple servers defined in inventory.

---
  - name: Run multipath -ll command
    become: true
    become_user: root
    gather_facts: yes

    tasks:
      - name: Execute multipath -ll command
        command: multipath -ll
        register: multipath_output
        changed_when: false
    
      - name: Display multipath output
        debug:
          var: multipath_output.stdout_lines