Hi There,

I am pretty new in this domain and got a question to ask. My goal is to 
create a new user "edison" on a Ubuntu server. Now I've already had a user 
"manager" which is able to ssh to this Ubuntu server. This problem I got is 
after I run user creation role with user "manager" as ansbile_user, the new 
user "edison" always failed to be created. Role is very simple, my question 
is if this issue would be caused by ansible_user "manager" that doesn't 
have some privilege?  

role:

---
- name: manage-user - Manage user account
user:
name: "{{ user.username }}"
comment: "{{ user.name }}"
shell: "/bin/bash"
groups:
- sudo

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/9fa919b4-74d8-4a44-8d58-6361da986e94o%40googlegroups.com.

Reply via email to