Inventory Configuration

The second command is what i'd expect to work. group_vars/ , host_vars/ etc
are relative to the directory holding the 'hosts' static list.

General rule: if you're going to target plays against different groups
of servers,
put them as groups in a single inventory.

There'd be nothing wrong with a single inventory with groups like
'dev3' , 'dev5', etc.