summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-06-30 01:17:04 +0200
committerAhmed Abdelhalim <[email protected]>2026-06-30 01:17:04 +0200
commit6ecbb839a61c80ed1b96705acc8cb01b7fd8fdfa (patch)
treede4e2ac18704847a42373cab68e70287b1c19316
parentb0d4f3a693f372c0c489267cd2fc408b2acc0e00 (diff)
Fix calling homelab group and removing cdrom repo from liveISO
-rw-r--r--roles/configure/tasks/main.yml1
-rw-r--r--ubuntu.md2
2 files changed, 3 insertions, 0 deletions
diff --git a/roles/configure/tasks/main.yml b/roles/configure/tasks/main.yml
index c23e075..dcfe208 100644
--- a/roles/configure/tasks/main.yml
+++ b/roles/configure/tasks/main.yml
@@ -61,6 +61,7 @@
ansible-playbook site.yml
--limit "{{ hostname }}"
--extra-vars '{"hostname":"{{ hostname }}"}'
+ --extra-vars "@/opt/ansible-distro-configure/group_vars/homelab.yml"
--extra-vars "@/opt/ansible-distro-configure/host_vars/{{ hostname }}.yml"
--tags 'required_for_boot'
chdir: "/opt/ansible-distro-configure"
diff --git a/ubuntu.md b/ubuntu.md
index 35577da..79797e2 100644
--- a/ubuntu.md
+++ b/ubuntu.md
@@ -19,6 +19,7 @@
hostnamectl set-hostname ubuntu-<MACHINE>-iso
passwd
nmcli dev wifi connect <SSID> password <PASSPHRASE>
+sudo rm /etc/apt/sources.list.d/cdrom.sources
sudo apt update
sudo DEBIAN_FRONTEND=noninteractive apt install -y openssh-server
sudo systemctl restart ssh avahi-daemon
@@ -45,6 +46,7 @@ ip link
hostnamectl set-hostname ubuntu-macbook-iso
passwd
nmcli dev wifi connect <SSID> password <PASSPHRASE>
+sudo rm /etc/apt/sources.list.d/cdrom.sources
sudo apt update
sudo DEBIAN_FRONTEND=noninteractive apt install -y openssh-server
sudo systemctl restart ssh avahi-daemon