From 30eb7447283d6f8a59f081a5b75a8ced3590b44e Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 23 Apr 2026 00:15:45 +0200 Subject: Refactor inventory --- host_vars/arch-desktop-iso.local.yml | Bin 0 -> 923 bytes host_vars/arch-desktop-iso.local.yml.example | 41 +++++++++++++++++++++ host_vars/arch-laptop-iso.local.yml | Bin 0 -> 1023 bytes host_vars/arch-laptop-iso.local.yml.example | 46 ++++++++++++++++++++++++ host_vars/arch-macbook-iso.local.yml | Bin 0 -> 1073 bytes host_vars/arch-macbook-iso.local.yml.example | 48 +++++++++++++++++++++++++ host_vars/archiso.local.yml | Bin 925 -> 0 bytes host_vars/archiso.local.yml.example | 41 --------------------- host_vars/marchiso.local.yml | Bin 1076 -> 0 bytes host_vars/marchiso.local.yml.example | 48 ------------------------- host_vars/mubuntuiso.local.yml | Bin 1072 -> 0 bytes host_vars/mubuntuiso.local.yml.example | 48 ------------------------- host_vars/raspberryiso.local.yml | Bin 577 -> 0 bytes host_vars/raspberryiso.local.yml.example | 25 ------------- host_vars/rpi5-iso.local.yml | Bin 0 -> 577 bytes host_vars/rpi5-iso.local.yml.example | 25 +++++++++++++ host_vars/ubuntu-desktop-iso.local.yml | Bin 0 -> 925 bytes host_vars/ubuntu-desktop-iso.local.yml.example | 41 +++++++++++++++++++++ host_vars/ubuntu-laptop-iso.local.yml | Bin 0 -> 1052 bytes host_vars/ubuntu-laptop-iso.local.yml.example | 47 ++++++++++++++++++++++++ host_vars/ubuntu-macbook-iso.local.yml | Bin 0 -> 1073 bytes host_vars/ubuntu-macbook-iso.local.yml.example | 48 +++++++++++++++++++++++++ host_vars/ubuntuiso.local.yml | Bin 924 -> 0 bytes host_vars/ubuntuiso.local.yml.example | 41 --------------------- 24 files changed, 296 insertions(+), 203 deletions(-) create mode 100644 host_vars/arch-desktop-iso.local.yml create mode 100644 host_vars/arch-desktop-iso.local.yml.example create mode 100644 host_vars/arch-laptop-iso.local.yml create mode 100644 host_vars/arch-laptop-iso.local.yml.example create mode 100644 host_vars/arch-macbook-iso.local.yml create mode 100644 host_vars/arch-macbook-iso.local.yml.example delete mode 100644 host_vars/archiso.local.yml delete mode 100644 host_vars/archiso.local.yml.example delete mode 100644 host_vars/marchiso.local.yml delete mode 100644 host_vars/marchiso.local.yml.example delete mode 100644 host_vars/mubuntuiso.local.yml delete mode 100644 host_vars/mubuntuiso.local.yml.example delete mode 100644 host_vars/raspberryiso.local.yml delete mode 100644 host_vars/raspberryiso.local.yml.example create mode 100644 host_vars/rpi5-iso.local.yml create mode 100644 host_vars/rpi5-iso.local.yml.example create mode 100644 host_vars/ubuntu-desktop-iso.local.yml create mode 100644 host_vars/ubuntu-desktop-iso.local.yml.example create mode 100644 host_vars/ubuntu-laptop-iso.local.yml create mode 100644 host_vars/ubuntu-laptop-iso.local.yml.example create mode 100644 host_vars/ubuntu-macbook-iso.local.yml create mode 100644 host_vars/ubuntu-macbook-iso.local.yml.example delete mode 100644 host_vars/ubuntuiso.local.yml delete mode 100644 host_vars/ubuntuiso.local.yml.example (limited to 'host_vars') diff --git a/host_vars/arch-desktop-iso.local.yml b/host_vars/arch-desktop-iso.local.yml new file mode 100644 index 0000000..05bc5b6 Binary files /dev/null and b/host_vars/arch-desktop-iso.local.yml differ diff --git a/host_vars/arch-desktop-iso.local.yml.example b/host_vars/arch-desktop-iso.local.yml.example new file mode 100644 index 0000000..69644d5 --- /dev/null +++ b/host_vars/arch-desktop-iso.local.yml.example @@ -0,0 +1,41 @@ +--- +hostname: "desktop.local" +partition_disk: "/dev/nvme0n1" +partition_wipe: true +partition_boot: + num: 1 + name: "boot" + flags: [boot, esp] + part_start: "0%" + part_end: "1.0GiB" + fstype: "vfat" + fstype_opts: "-F 32" + dev: "{{ partition_disk }}p1" + mount_path: "/mnt/boot/efi" + fstab_opts: "defaults,nodev,nosuid,noexec,umask=0077" +partition_swap: + num: 2 + name: "swap" + flags: [swap] + part_start: "1.0GiB" + part_end: "9.0GiB" + fstype: "ext4" + dev: "{{ partition_disk }}p2" + mount_path: "none" +partition_root: + num: 3 + name: "arch-root" + part_start: "9.0GiB" + part_end: "109.0GiB" + fstype: "ext4" + dev: "{{ partition_disk }}p3" + mount_path: "/mnt" +partition_extras: + - num: 4 + name: "home" + part_start: "109.0GiB" + part_end: "100%" + fstype: "ext4" + dev: "{{ partition_disk }}p4" + mount_path: "/mnt/home" +configure_playbook_dir: "../ansible-distro-configure" diff --git a/host_vars/arch-laptop-iso.local.yml b/host_vars/arch-laptop-iso.local.yml new file mode 100644 index 0000000..22b4bae Binary files /dev/null and b/host_vars/arch-laptop-iso.local.yml differ diff --git a/host_vars/arch-laptop-iso.local.yml.example b/host_vars/arch-laptop-iso.local.yml.example new file mode 100644 index 0000000..cc4ea7d --- /dev/null +++ b/host_vars/arch-laptop-iso.local.yml.example @@ -0,0 +1,46 @@ +--- +hostname: "laptop.local" +partition_disk: "/dev/sda" +partition_wipe: false +partition_boot: + num: 1 + name: "boot" + flags: [boot, esp] + part_start: "0%" + part_end: "1.0GiB" + fstype: "vfat" + fstype_opts: "-F 32" + dev: "{{ partition_disk }}1" + mount_path: "/mnt/boot/efi" + fstab_opts: "defaults,nodev,nosuid,noexec,umask=0077" +partition_swap: + num: 2 + name: "swap" + flags: [swap] + part_start: "1.0GiB" + part_end: "9.0GiB" + fstype: "ext4" + dev: "{{ partition_disk }}2" + mount_path: "none" +partition_root: + num: 4 + name: "arch-root" + part_start: "59.0GiB" + part_end: "109.0GiB" + fstype: "ext4" + dev: "{{ partition_disk }}4" + mount_path: "/mnt" +partition_extras: + - num: 3 + name: "ubuntu-root" + part_start: "9.0GiB" + part_end: "59.0GiB" + fstype: "ext4" + dev: "{{ partition_disk }}3" + - num: 5 + name: "home" + part_start: "109.0GiB" + part_end: "100%" + fstype: "ext4" + dev: "{{ partition_disk }}4" +configure_playbook_dir: "../ansible-distro-configure" diff --git a/host_vars/arch-macbook-iso.local.yml b/host_vars/arch-macbook-iso.local.yml new file mode 100644 index 0000000..4b0015b Binary files /dev/null and b/host_vars/arch-macbook-iso.local.yml differ diff --git a/host_vars/arch-macbook-iso.local.yml.example b/host_vars/arch-macbook-iso.local.yml.example new file mode 100644 index 0000000..b99a244 --- /dev/null +++ b/host_vars/arch-macbook-iso.local.yml.example @@ -0,0 +1,48 @@ +--- +hostname: "macbook.local" +partition_disk: "/dev/sda" +partition_wipe: false +partition_boot: + num: 1 + name: "boot" + flags: [boot, esp] + part_start: "0%" + part_end: "1.0GiB" + fstype: "vfat" + fstype_opts: "-F 32" + dev: "{{ partition_disk }}1" + mount_path: "/mnt/boot/efi" + fstab_opts: "defaults,nodev,nosuid,noexec,umask=0077" +partition_swap: + num: 2 + name: "swap" + flags: [swap] + part_start: "1.0GiB" + part_end: "9.0GiB" + fstype: "ext4" + dev: "{{ partition_disk }}2" + mount_path: "none" +partition_root: + num: 4 + name: "arch-root" + part_start: "59.0GiB" + part_end: "109.0GiB" + fstype: "ext4" + dev: "{{ partition_disk }}4" + mount_path: "/mnt" +partition_extras: + - num: 3 + name: "ubuntu-root" + part_start: "9.0GiB" + part_end: "59.0GiB" + fstype: "ext4" + dev: "{{ partition_disk }}3" + - num: 5 + name: "home" + part_start: "109.0GiB" + part_end: "100%" + fstype: "ext4" + dev: "{{ partition_disk }}5" + mount_path: "/mnt/home" +bootstrap_mac: true +configure_playbook_dir: "../ansible-distro-configure" diff --git a/host_vars/archiso.local.yml b/host_vars/archiso.local.yml deleted file mode 100644 index fd13ed2..0000000 Binary files a/host_vars/archiso.local.yml and /dev/null differ diff --git a/host_vars/archiso.local.yml.example b/host_vars/archiso.local.yml.example deleted file mode 100644 index d3967b0..0000000 --- a/host_vars/archiso.local.yml.example +++ /dev/null @@ -1,41 +0,0 @@ ---- -hostname: "archlinux.local" -partition_disk: "/dev/nvme0n1" -partition_wipe: true -partition_boot: - num: 1 - name: "boot" - flags: [boot, esp] - part_start: "0%" - part_end: "1.0GiB" - fstype: "vfat" - fstype_opts: "-F 32" - dev: "{{ partition_disk }}p1" - mount_path: "/mnt/boot/efi" - fstab_opts: "defaults,nodev,nosuid,noexec,umask=0077" -partition_swap: - num: 2 - name: "swap" - flags: [swap] - part_start: "1.0GiB" - part_end: "9.0GiB" - fstype: "ext4" - dev: "{{ partition_disk }}p2" - mount_path: "none" -partition_root: - num: 3 - name: "arch-root" - part_start: "9.0GiB" - part_end: "109.0GiB" - fstype: "ext4" - dev: "{{ partition_disk }}p3" - mount_path: "/mnt" -partition_extras: - - num: 4 - name: "home" - part_start: "109.0GiB" - part_end: "100%" - fstype: "ext4" - dev: "{{ partition_disk }}p4" - mount_path: "/mnt/home" -configure_playbook_dir: "../ansible-distro-configure" diff --git a/host_vars/marchiso.local.yml b/host_vars/marchiso.local.yml deleted file mode 100644 index 2d33954..0000000 Binary files a/host_vars/marchiso.local.yml and /dev/null differ diff --git a/host_vars/marchiso.local.yml.example b/host_vars/marchiso.local.yml.example deleted file mode 100644 index cbe391b..0000000 --- a/host_vars/marchiso.local.yml.example +++ /dev/null @@ -1,48 +0,0 @@ ---- -hostname: "marchlinux.local" -partition_disk: "/dev/sda" -partition_wipe: false -partition_boot: - num: 1 - name: "boot" - flags: [boot, esp] - part_start: "0%" - part_end: "1.0GiB" - fstype: "vfat" - fstype_opts: "-F 32" - dev: "{{ partition_disk }}1" - mount_path: "/mnt/boot/efi" - fstab_opts: "defaults,nodev,nosuid,noexec,umask=0077" -partition_swap: - num: 2 - name: "swap" - flags: [swap] - part_start: "1.0GiB" - part_end: "9.0GiB" - fstype: "ext4" - dev: "{{ partition_disk }}2" - mount_path: "none" -partition_root: - num: 4 - name: "arch-root" - part_start: "59.0GiB" - part_end: "109.0GiB" - fstype: "ext4" - dev: "{{ partition_disk }}4" - mount_path: "/mnt" -partition_extras: - - num: 3 - name: "ubuntu-root" - part_start: "9.0GiB" - part_end: "59.0GiB" - fstype: "ext4" - dev: "{{ partition_disk }}3" - - num: 5 - name: "home" - part_start: "109.0GiB" - part_end: "100%" - fstype: "ext4" - dev: "{{ partition_disk }}5" - mount_path: "/mnt/home" -bootstrap_mac: true -configure_playbook_dir: "../ansible-distro-configure" diff --git a/host_vars/mubuntuiso.local.yml b/host_vars/mubuntuiso.local.yml deleted file mode 100644 index b80ecbf..0000000 Binary files a/host_vars/mubuntuiso.local.yml and /dev/null differ diff --git a/host_vars/mubuntuiso.local.yml.example b/host_vars/mubuntuiso.local.yml.example deleted file mode 100644 index 704bffe..0000000 --- a/host_vars/mubuntuiso.local.yml.example +++ /dev/null @@ -1,48 +0,0 @@ ---- -hostname: "mubuntu.local" -partition_disk: "/dev/sda" -partition_wipe: false -partition_boot: - num: 1 - name: "boot" - flags: [boot, esp] - part_start: "0%" - part_end: "1.0GiB" - fstype: "vfat" - fstype_opts: "-F 32" - dev: "{{ partition_disk }}1" - mount_path: "/mnt/boot/efi" - fstab_opts: "defaults,nodev,nosuid,noexec,umask=0077" -partition_swap: - num: 2 - name: "swap" - flags: [swap] - part_start: "1.0GiB" - part_end: "9.0GiB" - fstype: "ext4" - dev: "{{ partition_disk }}2" - mount_path: "none" -partition_root: - num: 3 - name: "ubuntu-root" - part_start: "9.0GiB" - part_end: "59.0GiB" - fstype: "ext4" - dev: "{{ partition_disk }}3" - mount_path: "/mnt" -partition_extras: - - num: 4 - name: "arch-root" - part_start: "59.0GiB" - part_end: "109.0GiB" - fstype: "ext4" - dev: "{{ partition_disk }}4" - - num: 5 - name: "home" - part_start: "109.0GiB" - part_end: "100%" - fstype: "ext4" - dev: "{{ partition_disk }}5" - mount_path: "/mnt/home" -bootstrap_mac: true -configure_playbook_dir: "../ansible-distro-configure" diff --git a/host_vars/raspberryiso.local.yml b/host_vars/raspberryiso.local.yml deleted file mode 100644 index 04b3db2..0000000 Binary files a/host_vars/raspberryiso.local.yml and /dev/null differ diff --git a/host_vars/raspberryiso.local.yml.example b/host_vars/raspberryiso.local.yml.example deleted file mode 100644 index 6a98993..0000000 --- a/host_vars/raspberryiso.local.yml.example +++ /dev/null @@ -1,25 +0,0 @@ ---- -hostname: "rpi5.local" -partition_disk: "/dev/mmcblk0" -partition_wipe: true -partition_boot: - num: 1 - name: "boot" - flags: [boot, esp] - part_start: "0%" - part_end: "200MiB" - fstype: "vfat" - fstype_opts: "-F 32 -n boot" - dev: "{{ partition_disk }}p1" - mount_path: "/mnt/boot/firmware" - fstab_opts: "defaults,noatime" -partition_root: - num: 2 - name: "root" - part_start: "200MiB" - part_end: "100%" - fstype: "ext4" - dev: "{{ partition_disk }}p2" - mount_path: "/mnt" -partition_extras: [] -configure_playbook_dir: "../ansible-distro-configure" diff --git a/host_vars/rpi5-iso.local.yml b/host_vars/rpi5-iso.local.yml new file mode 100644 index 0000000..04b3db2 Binary files /dev/null and b/host_vars/rpi5-iso.local.yml differ diff --git a/host_vars/rpi5-iso.local.yml.example b/host_vars/rpi5-iso.local.yml.example new file mode 100644 index 0000000..6a98993 --- /dev/null +++ b/host_vars/rpi5-iso.local.yml.example @@ -0,0 +1,25 @@ +--- +hostname: "rpi5.local" +partition_disk: "/dev/mmcblk0" +partition_wipe: true +partition_boot: + num: 1 + name: "boot" + flags: [boot, esp] + part_start: "0%" + part_end: "200MiB" + fstype: "vfat" + fstype_opts: "-F 32 -n boot" + dev: "{{ partition_disk }}p1" + mount_path: "/mnt/boot/firmware" + fstab_opts: "defaults,noatime" +partition_root: + num: 2 + name: "root" + part_start: "200MiB" + part_end: "100%" + fstype: "ext4" + dev: "{{ partition_disk }}p2" + mount_path: "/mnt" +partition_extras: [] +configure_playbook_dir: "../ansible-distro-configure" diff --git a/host_vars/ubuntu-desktop-iso.local.yml b/host_vars/ubuntu-desktop-iso.local.yml new file mode 100644 index 0000000..ccbcc47 Binary files /dev/null and b/host_vars/ubuntu-desktop-iso.local.yml differ diff --git a/host_vars/ubuntu-desktop-iso.local.yml.example b/host_vars/ubuntu-desktop-iso.local.yml.example new file mode 100644 index 0000000..0376c61 --- /dev/null +++ b/host_vars/ubuntu-desktop-iso.local.yml.example @@ -0,0 +1,41 @@ +--- +hostname: "desktop.local" +partition_disk: "/dev/nvme0n1" +partition_wipe: true +partition_boot: + num: 1 + name: "boot" + flags: [boot, esp] + part_start: "0%" + part_end: "1.0GiB" + fstype: "vfat" + fstype_opts: "-F 32" + dev: "{{ partition_disk }}p1" + mount_path: "/mnt/boot/efi" + fstab_opts: "defaults,nodev,nosuid,noexec,umask=0077" +partition_swap: + num: 2 + name: "swap" + flags: [swap] + part_start: "1.0GiB" + part_end: "9.0GiB" + fstype: "ext4" + dev: "{{ partition_disk }}p2" + mount_path: "none" +partition_root: + num: 3 + name: "ubuntu-root" + part_start: "9.0GiB" + part_end: "109.0GiB" + fstype: "ext4" + dev: "{{ partition_disk }}p3" + mount_path: "/mnt" +partition_extras: + - num: 4 + name: "home" + part_start: "109.0GiB" + part_end: "100%" + fstype: "ext4" + dev: "{{ partition_disk }}p4" + mount_path: "/mnt/home" +configure_playbook_dir: "../ansible-distro-configure" diff --git a/host_vars/ubuntu-laptop-iso.local.yml b/host_vars/ubuntu-laptop-iso.local.yml new file mode 100644 index 0000000..07a6445 Binary files /dev/null and b/host_vars/ubuntu-laptop-iso.local.yml differ diff --git a/host_vars/ubuntu-laptop-iso.local.yml.example b/host_vars/ubuntu-laptop-iso.local.yml.example new file mode 100644 index 0000000..a4e7b63 --- /dev/null +++ b/host_vars/ubuntu-laptop-iso.local.yml.example @@ -0,0 +1,47 @@ +--- +hostname: "laptop.local" +partition_disk: "/dev/sda" +partition_wipe: false +partition_boot: + num: 1 + name: "boot" + flags: [boot, esp] + part_start: "0%" + part_end: "1.0GiB" + fstype: "vfat" + fstype_opts: "-F 32" + dev: "{{ partition_disk }}1" + mount_path: "/mnt/boot/efi" + fstab_opts: "defaults,nodev,nosuid,noexec,umask=0077" +partition_swap: + num: 2 + name: "swap" + flags: [swap] + part_start: "1.0GiB" + part_end: "9.0GiB" + fstype: "ext4" + dev: "{{ partition_disk }}2" + mount_path: "none" +partition_root: + num: 3 + name: "ubuntu-root" + part_start: "9.0GiB" + part_end: "59.0GiB" + fstype: "ext4" + dev: "{{ partition_disk }}3" + mount_path: "/mnt" +partition_extras: + - num: 4 + name: "arch-root" + part_start: "59.0GiB" + part_end: "109.0GiB" + fstype: "ext4" + dev: "{{ partition_disk }}4" + - num: 5 + name: "home" + part_start: "109.0GiB" + part_end: "100%" + fstype: "ext4" + dev: "{{ partition_disk }}5" + mount_path: "/mnt/home" +configure_playbook_dir: "../ansible-distro-configure" diff --git a/host_vars/ubuntu-macbook-iso.local.yml b/host_vars/ubuntu-macbook-iso.local.yml new file mode 100644 index 0000000..86ce960 Binary files /dev/null and b/host_vars/ubuntu-macbook-iso.local.yml differ diff --git a/host_vars/ubuntu-macbook-iso.local.yml.example b/host_vars/ubuntu-macbook-iso.local.yml.example new file mode 100644 index 0000000..6c07621 --- /dev/null +++ b/host_vars/ubuntu-macbook-iso.local.yml.example @@ -0,0 +1,48 @@ +--- +hostname: "macbook.local" +partition_disk: "/dev/sda" +partition_wipe: false +partition_boot: + num: 1 + name: "boot" + flags: [boot, esp] + part_start: "0%" + part_end: "1.0GiB" + fstype: "vfat" + fstype_opts: "-F 32" + dev: "{{ partition_disk }}1" + mount_path: "/mnt/boot/efi" + fstab_opts: "defaults,nodev,nosuid,noexec,umask=0077" +partition_swap: + num: 2 + name: "swap" + flags: [swap] + part_start: "1.0GiB" + part_end: "9.0GiB" + fstype: "ext4" + dev: "{{ partition_disk }}2" + mount_path: "none" +partition_root: + num: 3 + name: "ubuntu-root" + part_start: "9.0GiB" + part_end: "59.0GiB" + fstype: "ext4" + dev: "{{ partition_disk }}3" + mount_path: "/mnt" +partition_extras: + - num: 4 + name: "arch-root" + part_start: "59.0GiB" + part_end: "109.0GiB" + fstype: "ext4" + dev: "{{ partition_disk }}4" + - num: 5 + name: "home" + part_start: "109.0GiB" + part_end: "100%" + fstype: "ext4" + dev: "{{ partition_disk }}5" + mount_path: "/mnt/home" +bootstrap_mac: true +configure_playbook_dir: "../ansible-distro-configure" diff --git a/host_vars/ubuntuiso.local.yml b/host_vars/ubuntuiso.local.yml deleted file mode 100644 index 20831bf..0000000 Binary files a/host_vars/ubuntuiso.local.yml and /dev/null differ diff --git a/host_vars/ubuntuiso.local.yml.example b/host_vars/ubuntuiso.local.yml.example deleted file mode 100644 index 51b5456..0000000 --- a/host_vars/ubuntuiso.local.yml.example +++ /dev/null @@ -1,41 +0,0 @@ ---- -hostname: "ubuntu.local" -partition_disk: "/dev/nvme0n1" -partition_wipe: true -partition_boot: - num: 1 - name: "boot" - flags: [boot, esp] - part_start: "0%" - part_end: "1.0GiB" - fstype: "vfat" - fstype_opts: "-F 32" - dev: "{{ partition_disk }}p1" - mount_path: "/mnt/boot/efi" - fstab_opts: "defaults,nodev,nosuid,noexec,umask=0077" -partition_swap: - num: 2 - name: "swap" - flags: [swap] - part_start: "1.0GiB" - part_end: "9.0GiB" - fstype: "ext4" - dev: "{{ partition_disk }}p2" - mount_path: "none" -partition_root: - num: 3 - name: "ubuntu-root" - part_start: "9.0GiB" - part_end: "109.0GiB" - fstype: "ext4" - dev: "{{ partition_disk }}p3" - mount_path: "/mnt" -partition_extras: - - num: 4 - name: "home" - part_start: "109.0GiB" - part_end: "100%" - fstype: "ext4" - dev: "{{ partition_disk }}p4" - mount_path: "/mnt/home" -configure_playbook_dir: "../ansible-distro-configure" -- cgit v1.2.3