Ansible 1.8
CentOs 7
Powershell 3

When I run this playbook

---
    - hosts: windows
         tasks:
         - name: test msi installer
          win_msi:
              path='C:/Home/ansmgr/documents/wixedit-0.7.5.msi'
              creates='C:\Program Files (x86)\WixEdit\binaries\WixEdit'
              state=present

I get the following error message

[ansmgr@localhost ansible]$ ansible-playbook test.yml 
ERROR: Syntax Error while loading YAML script, test.yml
Note: The error may actually appear before this position: line 4, column 14

    -hosts: windows
        tasks:
             ^

I'm guessing I've missed something very simple but I can't find it.  Is 
there a recommended YAML editor that can help me with syntax errors?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/7bd867b8-695f-4bf4-aeb3-5ab96ea6ef79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to