ERROR! the field 'hosts' is required but was not set

Are you using ansible tower/awx or in command line?
How your inventory file looks like?
//vinoth

Hej thank you for response the cause of error is due to handlers they are not placed correctly after I have done that it works fine :blush: