Posts

Showing posts from May, 2026

Adguard Home on Windows 11

Adguard Home uses DNS to block ads and tracking software. I previously installed Adguard Home on Ubuntu and used it with Docker containers. The Ubuntu install worked well, but I had trouble getting the Docker install to work, especially on my Windows 11 laptop. For this install, I used the standard Windows 11 install, and it went pretty smoothly. Download Adguard Home from here: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.76 Unzip the file and save it in C:\Program Files\Adguard Home . Open a command prompt window and run as administrator. Perform the following commands: cd "C:\Program Files\AdGuardHome" AdGuardHome.exe -s install Ensure that the service is running with following command: AdGuardHome.exe -s status Open a web browser and go to the temporary AdGuard Home Web Portal setup page (http://127.0.0.1:3000 or http://[Your-PC-IP-Address]:3000). Follow the setup wizard to choose your network interfaces and set up your admin username and password. Now...

ansible wsl2 winrm example

  If you perform a google search with the following search string: ansible wsl2 winrm example You get the text shown below. Here's a link to the search:  https://share.google/aimode/h3bamT37y4UVqIDwU You can find your Windows username by opening a Windows command prompt. If you forget your Windows password, you can reset it here:  https://account.microsoft.com/ Instead of localhost , I used the IP address of my Windows device. Using Ansible within WSL2 to manage its Windows host via WinRM involves configuring the Windows host to accept remote management and setting up Ansible with the pywinrm library. add tag 1. Configure the Windows Host (PowerShell) WinRM is usually disabled or set to “Public” by default, which blocks connections. Run these commands in an Administrator PowerShell window to enable it for local management: # Set network to Private (required for WinRM in most cases) Set - NetConnectionProfile - NetworkCategory Private   # Enable WinRM with default se...

Running ansible playbook on wsl Ubuntu

  Run the following commands from your home directory: sudo apt install python3-venv   source venv / bin / activate Your prompt will change: ( .venv ) user @ wsl_host:~ / dev / ansible$ Install ansible: pip install ansible Example 1 Copy Hello World file to all hosts. Create an inventory file (inventory.yml): all : vars : ansible_user : user hosts : wsl_host : ansible_host : localhost ubuntu_laptop : ansible_host : 192.168.xxx.xxx Create a playbook (playbook.yml): - name : Play 1 hosts : all tasks : - name : Create Hello World file ansible.builtin.copy : content : "Hello World" dest : /home/user/hello-world.txt   Run the playbook: ansible-playbook -i inventory.yml playbook.yml --ask-pass You will be prompted to enter the appropriate password(s). This  will create hello-world.txt file on the two host that you defined in the inventory.yml file. See First Ansible Playbook for more details. Exam...

New Toy - Geekom A5

Image
I purchased a Geekom A5 from Best Buy, and it arrived yesterday. I really like it. It 's so quiet and is contained in such a small package. It also came with a thank you card, which I thought was a nice touch. Here's a review of it: https://www.itpro.com/hardware/the-geekom-a5-2025-edition-is-possibly-the-best-mini-pc-on-the-market Here's some of its specs: It has a fast wifi connection: I wasn't sure if I should set it up for dual-boot or use wsl2. I want to do some software development and run docker containers. I choose wsl2 with Ubuntu for the Linux VM.  Here's some of the software that I installed so far: wsl2 ( https://learn.microsoft.com/en-us/windows/wsl/install ) ubuntu ( https://documentation.ubuntu.com/wsl/stable/howto/install-ubuntu-wsl2/ ) deja-dup ( sudo apt install deja-dup - to restore backup from Ubuntu laptop) visual code studio ( https://code.visualstudio.com/ ) docker desktop ( https://docs.docker.com/desktop/setup/install/windows-install/ ) doc...