Hello community,

I'm learning this tool, and it's great =).

My first problem is when I'm testing register module, Ansible show me a
error:

Error: Syntax Error while loading YAML script, test_monitor.yml
Note: The error may actually appear before this position: line 8, column 1

- name: Output command

This is the playbook:

---
- hosts: all
  user: root
  sudo: no

  tasks:

    - name: Output command
      command: echo "Hello"
      register: hello
    - debug: msg="{{ hello.stdout }}"

Ansible version: 1.4.4 on Debian 6.0.5

I can't found this problems on Google.

Thanks for your help.

Greetings.

-- 
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/CACGH7PuSLjJm_WhpCga0%2Be6cAkp6sUKwaAsQt9ufTsVD0s61JQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to