Hello Everyone,

I'm trying to change the password of an ID on a few different servers.  The 
result of my playbook says that each of the servers were "changed" however 
I am unable to login with the new password OR the old password.

Here is the playbook:

---
> - name: Change blahuser password
>   hosts: "{{host_group}}"
>   sudo: true
> #  become_user: blahuser  #Become did not work, I kept getting a 
> permission denied
> #  become_method: sudo    
>   remote_user: blahuser
>   vars_files:
>     - '/HOME/PATH/ansible/inventory/web/group_vars/all-servers.yml'
>   tasks:
>   - name: change blahuser password
>     user: name=blahuser update_password=always password="{{pass}}"  #Pass 
> variable is encrypted and stored in all-servers.yml


 Here is the command  I used:

ansible-playbook -i /HOME/PATH/ansible/inventory/web/hosts 
> updatePassword.yml -e "host_group=dev" -vvvv -K



As I mentioned, it seems that the playbook ran and changed the password, 
but I have no idea what it was changed to.

Any help would be greatly appreciated.

- C



-- 
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/47323fd3-1ebc-4b9b-8ed8-4b4c8e420a85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to