Werner Flamme [13.04.2018 16:30]:
> Werner Flamme [13.04.2018 16:18]:
>> 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
>>
> 
> First solution: use shorter user name. It works when "someguy" is
> replaced with "exer". Originally, we use an 8 character user name.
> 
> Unfortunately, the usernames are not designed by me... I have to use
> usernames with up to 8 characters.
> 
> Regards,
> Werner
> 

Note to self: Do not try to create a user locally that is available via
LDAP when the system has a LDAP login... *cough*

Thanks for looking.

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/dd0b5013-fc45-9268-87c5-c86bef1fa303%40ufz.de.
For more options, visit https://groups.google.com/d/optout.

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

Reply via email to