Creating a user and setting password only when getent returns a null value from passwd database.

i am trying to get this to work, but its skipping over user creation in this current form when getent returns a null answer

Edit fail_key=false

Here you say run user module when getent_passwd[user_name] is not none/null, aka the user already exist.
Change it to "==" instead of "!=" and it should work.