Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #211257

Re: Ansible : User to use

From Andy Smith <andy@strugglers.net>
Newsgroups linux.debian.user
Subject Re: Ansible : User to use
Date 2019-07-11 23:50 +0200
Message-ID <yiP6W-2SA-3@gated-at.bofh.it> (permalink)
References <yiONA-2LU-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Ansible : User to use Thierry Leurent <thierry.leurent@asgardian.be> - 2019-07-11 23:30 +0200
  Re: Ansible : User to use Andy Smith <andy@strugglers.net> - 2019-07-11 23:50 +0200
    Re: Ansible : User to use Thierry Leurent <thierry.leurent@asgardian.be> - 2019-07-12 07:00 +0200
    Re: Ansible : User to use Thierry Leurent <thierry.leurent@asgardian.be> - 2019-07-12 07:00 +0200
  Re: Ansible : User to use deloptes <deloptes@gmail.com> - 2019-07-12 09:00 +0200

csiph-web