Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
Its possible the installer didnt properly add the ansible exectuable to the PATH environment variable. You can do this manually, or just use the command prompt and cd to the directory that ansible is installed.
You can do a search of "environment" and edit the variables yourself. It does require a reboot to take effect.
System>Path is what you want to set. And no matter what you need to know where the ansible installer is.
Personally I used an exsiting linux box in my lab. If i didnt have that, then maybe the windows subsystem for linux would be my next step. I would avoid python/ansible in windows if i could.
Additionally you COULD just install ansible on the local VPS. You basically just set the localhost to be the destination in the hosts config.
Something like this
https://gist.github.com/alces/caa3e7e5f46f9595f715f0f55eef65c1
https://www.ntweekly.com/2021/03/30/run-ansible-playbooks-on-your-localhost-machine/
I would also do some basic lockdown of the machine. Set SSH to key based auth only. Setup the firewall and block all ports other than 80/443 and limit 22 to your home IP or something. Limit SSH access to only an account or group etc etc.