forked from k-space/kube
reconfigure grub only on x86 nodes
This commit is contained in:
parent
2d25377090
commit
b07a5b9bc0
@ -15,11 +15,18 @@
|
|||||||
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash memhp_default_state=online"
|
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash memhp_default_state=online"
|
||||||
GRUB_CMDLINE_LINUX="memhp_default_state=online rootflags=pquota"
|
GRUB_CMDLINE_LINUX="memhp_default_state=online rootflags=pquota"
|
||||||
register: grub_defaults
|
register: grub_defaults
|
||||||
|
when: ansible_architecture == 'x86_64'
|
||||||
|
|
||||||
|
|
||||||
- name: Load grub defaults
|
- name: Load grub defaults
|
||||||
ansible.builtin.shell: update-grub
|
ansible.builtin.shell: update-grub
|
||||||
when: grub_defaults.changed
|
when: grub_defaults.changed
|
||||||
|
|
||||||
|
- name: Ensure nfs-common is installed
|
||||||
|
ansible.builtin.apt:
|
||||||
|
name: nfs-common
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Reconfigure Kubernetes nodes
|
- name: Reconfigure Kubernetes nodes
|
||||||
hosts: kubernetes
|
hosts: kubernetes
|
||||||
vars:
|
vars:
|
||||||
|
Loading…
Reference in New Issue
Block a user