Can't use register module (error).

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:

Hello again,

I found the problem, only has indentation.

Thanks.

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.