# Can't use register module (error).

**URL:** <https://forum.ansible.com/t/cant-use-register-module-error/14940>\
**Category:** Ansible Project\
**Created:** [April 4, 2014, 4:01pm UTC](https://forum.ansible.com/t/cant-use-register-module-error/14940 "2014-04-04T16:01:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Alvarez](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@David\_Alvarez](https://forum.ansible.com/u/David_Alvarez)\
**Post date:** [April 4, 2014, 4:01pm UTC](https://forum.ansible.com/t/cant-use-register-module-error/14940/1 "2014-04-04T16:01:41Z")

</div>

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:

---

<div class="post-metadata">

**Author:** ![David\_Alvarez](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@David\_Alvarez](https://forum.ansible.com/u/David_Alvarez)\
**Post date:** [April 5, 2014, 1:09am UTC](https://forum.ansible.com/t/cant-use-register-module-error/14940/2 "2014-04-05T01:09:46Z")

</div>

Hello again,

I found the problem, only has indentation.

Thanks.

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [April 9, 2014, 1:31pm UTC](https://forum.ansible.com/t/cant-use-register-module-error/14940/3 "2014-04-09T13:31:57Z")

</div>

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.
