[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ansible : User to use



Hi Thierry,

On Thu, Jul 11, 2019 at 11:13:13PM +0200, Thierry Leurent wrote:
> I'm beginning to work with Ansible to configure my hosts.
> What is the best practice to run playbooks on all of my Linux host ?
> I must define a specific user ?

Usually you have a specific user that can SSH in and use sudo when
it needs to. But if you want to you can make it SSH as root.

Best practice would be an unprivileged user, ssh by public key, use
sudo where necessary.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting


Reply to: