Compare commits

..

No commits in common. "ca310e6c13a48c677f8c35f31623c9eaf12e7fd7" and "ca334ee30373aacc7802bf40ca66da067d471629" have entirely different histories.

7 changed files with 6 additions and 30 deletions

View File

@ -5,11 +5,9 @@ packages:
- zfs-dkms - zfs-dkms
- zfsutils-linux - zfsutils-linux
- ganeti - ganeti
- ganeti-instance-debootstrap
- drbd-utils - drbd-utils
- socat - socat
- python3 - python3
- qemu-system-x86
- systemd-resolved # needs to be the last one - systemd-resolved # needs to be the last one
# breaks dns resolution until # breaks dns resolution until
# systemd-networkd is configured # systemd-networkd is configured
@ -46,10 +44,3 @@ zpool_dev: /dev/vdc
vg_name: xenvg vg_name: xenvg
pvs: pvs:
- /dev/vdb - /dev/vdb
# ganeti
instance_debootstrap:
- name: default
arch: amd64
suite: bookworm
extra_pkgs: "acpi-support-base,udev,linux-image-amd64,sudo,vim,grub-pc,openssh-server"

View File

@ -1,11 +1,9 @@
[nodes] [nodes]
192.168.50.20 192.168.50.20
192.168.50.21 192.168.50.21
192.168.50.22
[master] [master]
192.168.50.20 192.168.50.20
[workers] [workers]
192.168.50.21 192.168.50.21
192.168.50.22

View File

@ -1,6 +0,0 @@
- name: Generate debootstrap configs
ansible.builtin.template:
src: etc-ganeti-instance-debootstrap-variants.j2
dest: "/etc/ganeti/instance-debootstrap/variants/{{ item.name }}.conf"
mode: "0644"
loop: "{{ instance_debootstrap }}"

View File

@ -25,7 +25,3 @@
- name: Exchange keys - name: Exchange keys
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: keys.yml file: keys.yml
- name: Configure debootstrap
ansible.builtin.include_tasks:
file: debootstrap.yml

View File

@ -1,3 +0,0 @@
ARCH={{ item.arch }}
SUITE={{ item.suite }}
EXTRA_PKGS="{{ item.extra_pkgs }}"

View File

@ -33,9 +33,9 @@
creates: /var/log/ganeti/extstorage creates: /var/log/ganeti/extstorage
register: create_log_directory_result register: create_log_directory_result
# - name: Create lvm wrappers - name: Create lvm wrappers
# ansible.builtin.command: ansible.builtin.command:
# cmd: /usr/share/ganeti/extstorage/zfs/install/3-lvm-wrappers.sh cmd: /usr/share/ganeti/extstorage/zfs/install/3-lvm-wrappers.sh
# chdir: /usr/share/ganeti/extstorage/zfs/install/ chdir: /usr/share/ganeti/extstorage/zfs/install/
# register: lvm_wrappers_result register: lvm_wrappers_result
# changed_when: lvm_wrappers_result.rc == 0 changed_when: lvm_wrappers_result.rc == 0