hi all! can i use pulumi to install softwares on v...
# general
b
hi all! can i use pulumi to install softwares on vps (not from cloud providers). basically i want to do the equivalent with pulumi to what i can do with ansible: providing username and password(or ssh keys) so it can ssh into the host and do some software update.
q
Closest thing I could find is this guide and the associated github repo
b
thanks very much tom, excited to find these resources. after reading the guide, i see there is a step to config pub & private keys:
Copy code
$ cat rsa.pub | pulumi config set publicKey --
$ cat rsa | pulumi config set privateKey --secret --
and in the
___main__.py_
there is
OSProfileArgs
to setup the pubkey on the VM. cool, but i don't use cloud providers, how can i setup pulumi to enable it to access all of my VMs?
seems like it's feasible: i just need to use a for loop to iterate over each of my VMs, then build a connection(which is not tied to a cloud provider), then i can run whatever script for it.