khuedoan / homelab

Fully automated homelab from empty disk to running services with a single command.
https://homelab.khuedoan.com
GNU General Public License v3.0
8.24k stars 765 forks source link

Ubuntu 24.04 Make Issues #163

Open mitchross opened 4 months ago

mitchross commented 4 months ago

Describe the bug

A clear and concise description of what the bug is.

To reproduce

Steps to reproduce the behavior:

Run make on ubuntu 24.04

vanillax@vanillax-Standard-PC-Q35-ICH9-2009:~/k3s-argocd-raspberrypi$ make
make -C metal
make[1]: Entering directory '/home/vanillax/k3s-argocd-raspberrypi/metal'
ansible-playbook \
    --inventory inventories/prod.yml \
    boot.yml
/nix/store/q1c2flcykgr4wwg5a6h450hxbk4ch589-bash-5.2-p15/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
ERROR: Ansible could not initialize the preferred locale: unsupported locale setting
make[1]: *** [Makefile:12: boot] Error 1
make[1]: Leaving directory '/home/vanillax/k3s-argocd-raspberrypi/metal'
make: *** [Makefile:15: metal] Error 2

--

Ive tried 3 VM's each products same issue.

I've ran through all of these SO posts and nothing seems to fix it. https://serverfault.com/questions/54591/how-to-install-change-locale-on-debian

khuedoan commented 2 days ago

Hi, are you using the included development shell or the tools container?

khuedoan commented 2 days ago

I've recently removed the Docker wrapper in https://github.com/khuedoan/homelab/commit/47aefc54affcfdcdb4fd85b95b778ee9af5c0b9d, please try again with nix develop to see if the issue still persists

khuedoan commented 2 days ago

Actually looks like it's an issue with Ansible in Nix https://github.com/NixOS/nixpkgs/issues/223151