Re: Ansible : User to use
Hi Andy,
Thanks
Thierry
Thu, 11 Jul 2019 21:44:39 +0000
Andy Smith <andy@strugglers.net> wrote:
> 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
>
Reply to: