From b07a5b9bc0ee451d5f557bdcc0e81896fe401c2f Mon Sep 17 00:00:00 2001 From: Erki Aas Date: Sun, 28 Jul 2024 20:06:04 +0300 Subject: [PATCH] reconfigure grub only on x86 nodes --- ansible/kubernetes.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ansible/kubernetes.yml b/ansible/kubernetes.yml index bba9114..8578c5b 100644 --- a/ansible/kubernetes.yml +++ b/ansible/kubernetes.yml @@ -15,11 +15,18 @@ GRUB_CMDLINE_LINUX_DEFAULT="quiet splash memhp_default_state=online" GRUB_CMDLINE_LINUX="memhp_default_state=online rootflags=pquota" register: grub_defaults + when: ansible_architecture == 'x86_64' + - name: Load grub defaults ansible.builtin.shell: update-grub when: grub_defaults.changed + - name: Ensure nfs-common is installed + ansible.builtin.apt: + name: nfs-common + state: present + - name: Reconfigure Kubernetes nodes hosts: kubernetes vars: