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


Groups > linux.debian.user > #211256 > unrolled thread

Ansible : User to use

Started byThierry Leurent <thierry.leurent@asgardian.be>
First post2019-07-11 23:30 +0200
Last post2019-07-12 09:00 +0200
Articles 5 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  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

#211256 — Ansible : User to use

FromThierry Leurent <thierry.leurent@asgardian.be>
Date2019-07-11 23:30 +0200
SubjectAnsible : User to use
Message-ID<yiONA-2LU-13@gated-at.bofh.it>
Dear list,

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 ?

Regards,


Thierry

[toc] | [next] | [standalone]


#211257

FromAndy Smith <andy@strugglers.net>
Date2019-07-11 23:50 +0200
Message-ID<yiP6W-2SA-3@gated-at.bofh.it>
In reply to#211256
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

[toc] | [prev] | [next] | [standalone]


#211266

FromThierry Leurent <thierry.leurent@asgardian.be>
Date2019-07-12 07:00 +0200
Message-ID<yiVP3-79E-1@gated-at.bofh.it>
In reply to#211257
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
> 

[toc] | [prev] | [next] | [standalone]


#211267

FromThierry Leurent <thierry.leurent@asgardian.be>
Date2019-07-12 07:00 +0200
Message-ID<yiVP3-79E-3@gated-at.bofh.it>
In reply to#211257
On 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
> 

[toc] | [prev] | [next] | [standalone]


#211271

Fromdeloptes <deloptes@gmail.com>
Date2019-07-12 09:00 +0200
Message-ID<yiXHb-8kJ-3@gated-at.bofh.it>
In reply to#211256
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 ?

Hi,
too generic questions. Read more of the docs and you'll find out.
Basically for configuration purpose of multiple hosts you need a user (ssh)
to access the hosts.

regards

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web