raaarg.
Not to be too confusing on this, my logical problem with --override hosts was that people wanted it to get data from inventory, that is, operate as a "--restrict-hosts-to" while also operating as "--add-these-hosts-that-dont-exist". This couldn't work easily.
Given, add-these-hosts-that-don't exist is actually useful, I'm suggesting something here that will leave this available on the CLI, but only in the *latter* form (adding hosts not in inventory and ignoring inventory), and make it clearer that this is being done.
As I want to minimize CLI options, this is probably just going to be:
ansible all -i "host1,host2,host3"
The way we would detect this would be if the inventory list contains commas. So if you had only one:
ansible all -i "host1,"
This is about a two line change to inventory.py and preserves *most* of the feature. I just wrapped my brain around a rock trying to make the feature do what someone intended in both cases at once.
I'll make this so.