Score:0

Remote deployment of a script on linux

cn flag

We are creating a lab and wanted to setup like 10-15 hosts with ldap. We need to install on each computer some packages that are necessary to run ldap, so my question is - can I somehow run 1 bash script on multiple computers simultaneously? So basically i have the script on one of my servers and want to run it on 10 machines. Would it be possible?

digijay avatar
mx flag
Hi Pakuss, [have a look at ansible](https://docs.ansible.com/ansible/latest/user_guide/intro_getting_started.html)
in flag
Take your pick of [any configuration management solution](https://en.wikipedia.org/wiki/Comparison_of_open-source_configuration_management_software). We don't do recommendations here.
Score:0
cn flag

can I somehow run 1 bash script on multiple computers simultaneously

Yes

Would it be possible?

Yes.

I would likely use ansible for this job but there are other configration management tools that you could use.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.