Thanks Brian for the quick response. This fixed it. 

On Monday, April 27, 2015 at 12:28:46 PM UTC-7, Brian Coca wrote:
>
> you were missing a dash (-), see below: 
>
> # site.yml file 
> - hosts: ansible_slaves 
>   user: ansible 
>   sudo: yes 
>
>   #Define user and password variables 
>   vars: 
>     # created with: 
>     password : dummyuser 
>     user : dummypassword 
>
>   # Define task to add user 
>   tasks: 
>     - name: add user 
>       action: user name={{ user }} password={{ password }} 
> update_password=always 
>                    shell=/bin/bash home=/home/{{ user }} 
>       tags: 
>         - user 
>
>
> -- 
> Brian Coca 
>

-- 
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/8366f2f2-a30c-426a-99b5-86831d6be94c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to