msg: ‘Unsupported parameters for (debug) module: handlers. Supported parameters include: msg, var, verbosity.’
Perhaps this is indentation issue in your playbook. Indentation in YAML file is very important because it represents the structure of the data.
I guess the excessive indentation of handlers on line 26 causes it to be treated as a parameter to debug on line 23.
The text you pasted is a bit broken and it is difficult to see actual indentation for each lines to identify the lines that should be modified, so could you please provide the contents of the complete YAML file in one of the following ways?
@halavehzadeh
Thanks for updating, handlers should be the same level as tasks. Also, to increase indentation, two or four spaces are recommended instead of one, to make playbooks easy to read. I usualy use two spaces.