A couple of thousand new servers to add into ansible

47 views
Skip to first unread message

Sloan Miller

unread,
Nov 20, 2018, 1:00:51 PM11/20/18
to Ansible Project
I am currently setting up to add a couple of thousand servers into ansible config mgmt.  Does anyone know of any blogs scripts etc that could be helpful.  specifically I am looking into automated login scripts like expect or ?? .    I am adding a new local ansible user and a public key with a basic bash script.   

Mark Zhitomirski

unread,
Nov 22, 2018, 6:33:18 AM11/22/18
to Ansible Project
For starter you may look at mine: https://github.com/mz0/ansible-digitalocean
So far it deals with one host, that part needs a thought.


On Tuesday, November 20, 2018 at 9:00:51 PM UTC+3, Sloan Miller wrote:
I am currently setting up to add a couple of thousand servers into ansible config mgmt.  Does anyone know of any blogs scripts etc that could be helpful.  specifically I am looking into automated login scripts like expect or ?? .    I am adding a new local ansible user and a public key with a basic bash script.
Most probably you do not need expect, there's Ansible module "user" [1] for this task.

J Davis

unread,
Nov 27, 2018, 4:02:07 PM11/27/18
to Ansible Project
Do you have root access (directly, by certificate) from your ansible control node? Do you have a inventory file (dynamic or static)?

Jonathan Lozada De La Matta

unread,
Nov 27, 2018, 6:11:09 PM11/27/18
to ansible...@googlegroups.com
are you familiar with ansible? I suggest looking into the starting guide and best practice if you don't.

On Tue, Nov 27, 2018 at 4:02 PM J Davis <countr...@gmail.com> wrote:
Do you have root access (directly, by certificate) from your ansible control node? Do you have a inventory file (dynamic or static)?

--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/2fe658c4-3044-47d2-bd26-2a9267f7267b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Jonathan lozada de la matta

AUTOMATION PRACTICE



 

Reply all
Reply to author
Forward
0 new messages