Update rook nodes.

This commit is contained in:
Joseph Hanson 2024-01-27 09:24:41 -06:00
parent a1b91cddcf
commit f7c43dece0
3 changed files with 10 additions and 8 deletions

View file

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

View file

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

View file

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