2 Commits

Author SHA1 Message Date
Timothy Stewart ee3a4a126e chore(deps): bump ansible-core from 2.19.12 to 2.19.13 and zgosalvez/github-actions-ensure-sha-pinned-actions from 5.0.7 to 5.0.8 2026-09-11 10:39:34 -05:00
Marc Palacín 24054385e4 Fix: reboot nodes after installing kernel-modules-extra package (#711)
* fix: nodes reboot after kernel-modules-extra installation

* chore: pre-commit fix
2026-09-05 17:26:52 -05:00
4 changed files with 12 additions and 4 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 7.0.1 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 7.0.1
- name: Ensure SHA pinned actions - name: Ensure SHA pinned actions
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@c5fc58bd0be7a4b94b73ce40250322d5b838a108 # 5.0.7 uses: zgosalvez/github-actions-ensure-sha-pinned-actions@60e3a74c7b74a319e8e53e46bc455205f7173e1a # 5.0.8
with: with:
allowlist: | allowlist: |
aws-actions/ aws-actions/
+1 -1
View File
@@ -1,4 +1,4 @@
ansible-core>=2.19.12 ansible-core>=2.19.13
jmespath>=1.1.0 jmespath>=1.1.0
jsonpatch>=1.33 jsonpatch>=1.33
kubernetes>=29.0.0 kubernetes>=29.0.0
+1 -1
View File
@@ -6,7 +6,7 @@
# #
ansible-compat==4.1.11 ansible-compat==4.1.11
# via molecule # via molecule
ansible-core==2.19.12 ansible-core==2.19.13
# via # via
# -r requirements.in # -r requirements.in
# ansible-compat # ansible-compat
+9 -1
View File
@@ -68,7 +68,7 @@
- name: Install kernel-modules-extra if br_netfilter missing - name: Install kernel-modules-extra if br_netfilter missing
ansible.builtin.yum: ansible.builtin.yum:
name: kernel-modules-extra name: "kernel-modules-extra-{{ ansible_kernel }}"
state: present state: present
update_cache: true update_cache: true
register: kernel_modules_installed register: kernel_modules_installed
@@ -76,6 +76,14 @@
- ansible_os_family == "RedHat" - ansible_os_family == "RedHat"
- br_netfilter_exists.stdout | int == 0 - br_netfilter_exists.stdout | int == 0
- name: Reboot node if kernel modules package was installed
ansible.builtin.reboot:
msg: "Rebooting to apply new kernel modules package"
reboot_timeout: 300
when:
- ansible_os_family == "RedHat"
- kernel_modules_installed is changed
- name: Add br_netfilter to /etc/modules-load.d/ - name: Add br_netfilter to /etc/modules-load.d/
ansible.builtin.copy: ansible.builtin.copy:
content: br_netfilter content: br_netfilter