getting below error so you have any idea about it ?
ERROR! Syntax Error while loading YAML.
mapping values are not allowed in this context
The error appears to be in ‘/home/manish/mk/ansible/install_exe.yml’: line 6, column 13, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
name: Install & start application as Windows service (via nssm)
win_nssm:
^ here
Curly braces put you in jinja context, and I don't think
"C:\Users\Administrator\Downloads" is a variable.
According to the docs application is "The application binary".
ERROR! Syntax Error while loading YAML.
did not find expected hexdecimal number
The error appears to be in ‘/home/manish/mk/ansible/install_pkg.yml’: line 6, column 25, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
tasks:
win_command: “C:\Users\Administrator\Downloads\npp.7.7.1.Installer.exe”
^ here
This one looks easy to fix. It seems that there is a value started
with a quote, and the YAML parser is expecting to see the line ended
with the same kind of quote. For instance: