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. I use it like this: https://github.com/mz0/ansible-digitalocean/blob/master/tasks/users.yml [1] https://docs.ansible.com/ansible/latest/modules/user_module.html -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/91e6d990-8e40-4754-b33d-657254933ef4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
