Hi Skyler,

This is a UNIX/Linux limitation actually. In general though, it is very
common to have a single, shared account for system maintenance. There are
many ways you can set this up without requiring a shared password (sudo,
ssh keys with a passphrase, etc.), it really is a matter of personal
preference.

On Thu, Sep 18, 2014 at 1:09 PM, Skyler Slade <[email protected]> wrote:

> Presently I do all system administration for my organization. Another
> colleague will soon be handling some administration duties. I have
> configured Ansible to add his user using the user module. In testing this,
> I also configured Ansible to configure my user "skyler" but this task
> always fails with the error "usermod: user skyler is currently logged in."
> This leads me to believe that Ansible cannot manage the user that is
> currently running the Ansible play (in this case, set via ansible_ssh_user).
>
> Which user should Ansible use? And if this user is different than my user
> or my colleague's user, we will need to share those credentials, correct?
>
> I was hoping we could run Ansible using our own individual accounts, and
> that Ansible would also manage these accounts, but this doesn't seem
> possible.
>
> Do I understand correct or have I missed something?
>
> --
> 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 post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/776f4f80-d9d1-4415-9ce5-46f3245f12bb%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/776f4f80-d9d1-4415-9ce5-46f3245f12bb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAMFyvFjQpUfdywg_ZvjHYL%3DxOzPvT9vJyOEeUmvnmqpMgi04VA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to