this post was submitted on 29 Nov 2024
5 points (85.7% liked)

Ansible

290 readers
1 users here now

# TODO

founded 2 years ago
 

I'm setting up an application using containers with ansible. I want to be able to set up the same application multiple times with a different set of variables. Is there a way how I could do this in parallel on a single host? I know I could deploy the same application n times on n different hosts, but what about n times on a single host? Is something like this possible? Doing it sequential obviously works, but it doesn't scale well.

you are viewing a single comment's thread
view the rest of the comments
[–] wasabi@feddit.org 2 points 7 months ago* (last edited 7 months ago)

Could one maybe use multiple hosts in the ansible inventory that point to the same host?

Maybe k8s ist better suited for this.