can someone please show me what's wrong?

- name: create one single user
    user: "someguy"
    password: "something secret here"
    group: "users"
    state: "present"

does not create a user, but invokes usermod instead of useradd. Of
course, I get a message telling me that the user does not exist in
/etc/passwd. This is very correct.

Using no quotation marks around present or leaving them away completely
does not help.

I'm running ansible 2.5.0 on python version = 2.7.13.



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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to