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
---
- name: Install a service
gather_facts: false
hosts: all
- name: Install & start application as Windows service (via nssm)
win_nssm:
name: "npp.7.7.1.Installer"
application: "{{C:\Users\Administrator\Downloads}}"
state: restarted