Before I start banging my keyboard into the window, I wanted to ask why 
this task produces a Syntax Error:

    - name "cat /etc/shinken/modules/webui.cfg | grep 'modules 
auth-cfg-password'"
      shell: runuser -l shinken -c "cat /etc/shinken/modules/webui.cfg | 
grep 'modules auth-cfg-password' || true"
      ignore_errors: true
      register: is_authmodule_in_webui_config

I dont understand the error because:

   - I use double-quotes which surround the single quotes
   - the command does what it should do when run in the shell

The error is:

ERROR: Syntax Error while loading YAML script, config-shinken.yml
Note: The error may actually appear before this position: line 63, column 7
      shell: "cat /etc/shinken/modules/webui.cfg | grep 'modules 
auth-cfg-password' || true"



Help me please.

-- 
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/9cf0df02-d80f-44a3-a423-2621a2261ec5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to