---

- hosts: all
  remote_user: root
  roles:
    - { role: minio,
        minio_server_datadirs: [ "/data/local/minio" ] }
  any_errors_fatal: true

---

- hosts: minio
  remote_user: root
  vars_files:
   - vars/minio_vars.yml
  roles:
    - minio
  any_errors_fatal: true

Use only hosts assigned for minio and use the global variables defined for minio
Use only hosts assigned for minio and use the global variables defined for minio
