Hi,

can someone please show me what's wrong?

- name: create one single user
  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.

Regards,
Werner

-- 



-- 
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 
https://groups.google.com/d/msgid/ansible-project/49963f37-336a-2da6-680d-297e4ac53c95%40ufz.de.
For more options, visit https://groups.google.com/d/optout.

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

Reply via email to