It might be easier to just run:

- getent: database=passwd

and then make the users conditional on:

-  user: name=item.value.name state=present  ...
   when: item.value.name in getent_passwd


-- 
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/CAJ5XC8k-JAd6ijtzrf%3DW-Q2fkBzn5oW3ig13Z8iL6HJP348wzQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to