Im trying to rename my host list file from IP addresses to aliases but for some reason when I run my playbooks i get the below error.
fatal: [test]: FAILED! => {"changed": false, "failed": true, "msg": "unable to open shell. Please see: https://docs.ansible.com/ansible/network_debug_troubleshooting.html#unable-to-open-shell", "rc": 255}
here is a sample of the alias in the host file.
test ansible_ssh_host=192.168.1.1
Im using ansible version 2.3.0