Compare commits

..

No commits in common. "f7c43dece0ae8dbd383267a717161abd9dae3c97" and "b250620b6fc562c5e481c3fb0ff979ae65a97049" have entirely different histories.

4 changed files with 11 additions and 16 deletions

View file

@ -16,16 +16,14 @@ kubernetes:
hosts: hosts:
nenya: nenya:
ansible_host: 10.1.1.41 ansible_host: 10.1.1.41
ceph_drives:
- /dev/disk/by-id/nvme-PC300_NVMe_SK_hynix_256GB_EJ75N587410705M4U
vilya: vilya:
ansible_host: 10.1.1.42 ansible_host: 10.1.1.42
ceph_drives: ceph_drives:
- /dev/disk/by-id/nvme-PC300_NVMe_SK_hynix_256GB_EJ75N587411205N58 - /dev/disk/by-id/nvme-PC300_NVMe_SK_hynix_256GB_EJ75N587410705M4U
elrond: gollum:
ansible_host: 10.1.1.43 ansible_host: 10.1.1.43
ceph_drives: ceph_drives:
- /dev/vdb - /dev/disk/by-id/nvme-Samsung_SSD_960_EVO_250GB_S3ESNX0K308457X
narya: narya:
ansible_host: 10.1.1.44 ansible_host: 10.1.1.44
ceph_drives: ceph_drives:

View file

@ -80,7 +80,7 @@
# TODO: Replace this with embedded spegel in the future # TODO: Replace this with embedded spegel in the future
- name: Copy custom containerd configuration - name: Copy custom containerd configuration
when: inventory_hostname != 'temp' when: inventory_hostname != 'nenya'
notify: Restart Kubernetes notify: Restart Kubernetes
ansible.builtin.copy: ansible.builtin.copy:
src: files/config.toml.tmpl src: files/config.toml.tmpl
@ -90,7 +90,7 @@
mode: "0644" mode: "0644"
- name: Copy custom containerd configuration - name: Copy custom containerd configuration
when: inventory_hostname == 'temp' when: inventory_hostname == 'nenya'
notify: Restart Kubernetes notify: Restart Kubernetes
ansible.builtin.copy: ansible.builtin.copy:
src: files/config.nvidia.toml.tmpl src: files/config.nvidia.toml.tmpl

View file

@ -23,7 +23,7 @@
filename: non-free filename: non-free
update_cache: true update_cache: true
- name: Packages | Install Intel common packages - name: Packages | Install Intel common packages
when: inventory_hostname != 'elrond' when: inventory_hostname == 'orome'
ansible.builtin.apt: ansible.builtin.apt:
name: vim,i965-va-driver-shaders,apt-transport-https,ca-certificates,conntrack,curl,dirmngr,gdisk, name: vim,i965-va-driver-shaders,apt-transport-https,ca-certificates,conntrack,curl,dirmngr,gdisk,
gnupg,hdparm,htop,btop,intel-gpu-tools,intel-media-va-driver-non-free,iperf3,iptables,iputils-ping,ipvsadm, gnupg,hdparm,htop,btop,intel-gpu-tools,intel-media-va-driver-non-free,iperf3,iptables,iputils-ping,ipvsadm,
@ -32,7 +32,7 @@
unzip,util-linux unzip,util-linux
install_recommends: false install_recommends: false
- name: Packages | Install AMD common packages - name: Packages | Install AMD common packages
when: inventory_hostname == 'elrond' when: inventory_hostname != 'orome'
ansible.builtin.apt: ansible.builtin.apt:
name: vim,apt-transport-https,ca-certificates,conntrack,curl,dirmngr,gdisk, name: vim,apt-transport-https,ca-certificates,conntrack,curl,dirmngr,gdisk,
gnupg,hdparm,htop,btop,iperf3,iptables,iputils-ping,ipvsadm, gnupg,hdparm,htop,btop,iperf3,iptables,iputils-ping,ipvsadm,
@ -103,7 +103,7 @@
dest: "/etc/modules-load.d/{{ item }}.conf" dest: "/etc/modules-load.d/{{ item }}.conf"
mode: "0644" mode: "0644"
content: "{{ item }}" content: "{{ item }}"
loop: ["br_netfilter", "ceph", "ip_vs", "ip_vs_rr", "overlay", "rbd", "tcp_bbr"] loop: ["br_netfilter", "ceph", "ip_vs", "ip_vs_rr", "nbd", "overlay", "rbd", "tcp_bbr"]
register: modules_status register: modules_status
- name: System Configuration | Reload Kernel modules # noqa: no-changed-when no-handler - name: System Configuration | Reload Kernel modules # noqa: no-changed-when no-handler
when: modules_status.changed when: modules_status.changed

View file

@ -70,14 +70,11 @@ spec:
devices: devices:
- name: /dev/disk/by-id/nvme-Samsung_SSD_960_EVO_250GB_S3ESNX0K308438J - name: /dev/disk/by-id/nvme-Samsung_SSD_960_EVO_250GB_S3ESNX0K308438J
- name: vilya - name: vilya
devices:
- name: /dev/disk/by-id/nvme-PC300_NVMe_SK_hynix_256GB_EJ75N587411205N58
- name: elrond
devices:
- name: /dev/vdb
- name: nenya
devices: devices:
- name: /dev/disk/by-id/nvme-PC300_NVMe_SK_hynix_256GB_EJ75N587410705M4U - name: /dev/disk/by-id/nvme-PC300_NVMe_SK_hynix_256GB_EJ75N587410705M4U
- name: gollum
devices:
- name: /dev/disk/by-id/nvme-Samsung_SSD_960_EVO_250GB_S3ESNX0K308457X
placement: placement:
mgr: &placement mgr: &placement
nodeAffinity: nodeAffinity: