Great! FYI, the current released version of Ansible is 1.5.4, so 1.4.X is missing various fixes, including security fixes -- so you shouldn't be running it.
Switch to 1.5.4 or the development branch when you get a chance. On Fri, Apr 4, 2014 at 9:09 PM, David Álvarez <[email protected]>wrote: > Hello again, > > I found the problem, only has indentation. > > Thanks. > > > On Fri, Apr 4, 2014 at 1:01 PM, David Álvarez <[email protected]>wrote: > >> 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/CACGH7Pv9h9kRs%3DeHY2R49oef1xWDFCHmM6OuEpvSCxTnevfqAA%40mail.gmail.com<https://groups.google.com/d/msgid/ansible-project/CACGH7Pv9h9kRs%3DeHY2R49oef1xWDFCHmM6OuEpvSCxTnevfqAA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CAEVJ8QO0RuzHm-jgG5ZvCJ%3DbDfDReDxkJu279zAEbvG3HFmoUA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
