vagrant@ubuntu-bionic:~$ ansible mysqlserver -u vagrant -i hosts -m shell -a 'echo Hello, World'
[WARNING]: Unable to parse /home/vagrant/hosts as an inventory source
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
[WARNING]: Could not match supplied host pattern, ignoring: mysqlserver