[WARNING]: Could not match supplied host pattern, ignoring: matrix_servers

Error while trying to run playbook

If you get the above error when you try running

ansible-playbook -i inventory/hosts setup.yml --tags=setup-system-user

Check and verify that you have [matrix_servers] in your inventory/hosts file

That file should contain the following.

[matrix_servers]
matrix. ansible_host= ansible_ssh_user=root