On Friday, May 16, 2014 8:24:02 AM UTC-7, [email protected] wrote:
>
> That is not the issue, the issue is that I am getting inconsistent 
> results, and ansible is not changing the client after I change the 
> playbook.  If some one is able to point out something in my playbook that I 
> am doing wrong I can deal with that, but as far as I can tell I am setting 
> it up correctly, but ansible is just missing when I make changes which is 
> very scary problem to have.
>
>>
>>
James already pointed out your issue (at least one of them)...
it should be :-

---
- hosts: serverone:servertwo
  sudo: yes
  tasks:
  - name: add local user
    user: name=newguy comment="first last" uid=2222 group=users 
home=/home/newguy shell=/bin/bash 
password=$6$rounds=40000$SkYFjKIU7FhnFu2B$jGUr0hLkBeIB5Oi6kZyEcos3mwT78DfsW9LhDdd14Kx/T/VzYyyyyy
     
state=absent update_password=always  force=yes
  - name: add local user
    user: name=testtwo comment="test guy" uid=5002 group=users 
home=/home/testtwo shell=/bin/bash 
password=$6$rounds=40000$3K4vP/lTWYvxKbLd$./c2g.TLNOVaXfyJsDPBCVMGWP/0tVCESX0IhdHUCuxQba2MUPwQLrqFUaKIfhkXsFqB13l0.
 
state=present update_password=always  force=yes
  - name: add local user
    user: name=testthree comment="test guy" uid=5003 group=users 
home=/home/testthree shell=/bin/bash 
password=$6$rounds=40000$3K4vP/lTWYvxKbLd$./c2g.TLNOVaXfyJsDPBCVMGWP/0tVCESX0IhdH4xjQbua72jMHUsPGwQLrqFUaKIfhkXsFqB13l0.
 
state=present update_password=always  force=yes
  - name: add local user
    user: name=testfour comment="test guy" uid=5004 group=users 
home=/home/testfour shell=/bin/bash 
password=$6$rounds=40000$3K4vP/lTWYvxKbLd$./c2g.TLNOVaXfyJsDPBCVMGWP/0tVCESX0IhdH4emCuxQua2jMHUsPGwQLrqFUaKIfhkXsFqB13l0.
 
state=present update_password=always  force=yes
  - name: add local user
    user: name=testfive comment="test guy" uid=5005 group=users 
home=/home/testfive shell=/bin/bash 
password=$6$rounds=40000$3K4vP/lTWYvxKbLd$./c2g.TLNOVaXfyJsDPBCVMGWP/0tVCESX0IhdH4eu72jMHUsPGwQLrqFUaKIfhkXsFqB13l0.
 
state=present update_password=always  force=yes
  - name: add local user
    user: name=testsix comment="test what" uid=5006 group=users 
home=/home/testsix shell=/bin/bash 
password=$6$rounds=40000$3K4vP/lTWYvxKbLd$./c2g.TLNOVaXfyJsDPBCVMGWP/0tVCESX0IhdH4emUa72jMHUsPGwQLrqFUaKIfhkXsFqB13l0.
 
state=present update_password=always  force=yes
  - name: add local user
    user: name=testseven comment="test seven" uid=5007 group=users 
home=/home/testseven shell=/bin/bash 
password=$6$rounds=40000$3K4vP/lTWYvxKbLd$./c2g.TaXfyJsDPBCVMGWP/0tVCESX0IhdH4emU8CQbua72jMHUsPGwQLrqFUaKIfhkXsFqB13l0.
 
state=present update_password=always  force=yes 

-- 
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/99ef7521-ea31-4d88-859f-293bb7696a80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to