# Help with Variables and command/shell module

**URL:** <https://forum.ansible.com/t/help-with-variables-and-command-shell-module/29233>\
**Category:** Ansible Project\
**Created:** [December 10, 2018, 2:32pm UTC](https://forum.ansible.com/t/help-with-variables-and-command-shell-module/29233 "2018-12-10T14:32:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert2](https://avatars.discourse-cdn.com/v4/letter/r/e8c25b/32.png) [@Robert2](https://forum.ansible.com/u/Robert2)\
**Post date:** [December 10, 2018, 2:32pm UTC](https://forum.ansible.com/t/help-with-variables-and-command-shell-module/29233/1 "2018-12-10T14:32:53Z")

</div>

All,

I have a playbook that reads in a vars\_file and creates new users and then runs the chage command to force them to change their password on first/next login. Here is the playbook.

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [December 10, 2018, 2:57pm UTC](https://forum.ansible.com/t/help-with-variables-and-command-shell-module/29233/2 "2018-12-10T14:57:43Z")

</div>

You have indented command to far, remove two spaces so it align at the same level as name and with\_items.

---

<div class="post-metadata">

**Author:** ![Robert2](https://avatars.discourse-cdn.com/v4/letter/r/e8c25b/32.png) [@Robert2](https://forum.ansible.com/u/Robert2)\
**Post date:** [December 10, 2018, 3:08pm UTC](https://forum.ansible.com/t/help-with-variables-and-command-shell-module/29233/3 "2018-12-10T15:08:19Z")

</div>

Thanks I feel utterly stupid right now…that fixed the problem.
