mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2025-12-25 00:12:37 +01:00
Fix reboot handler calls (#239)
Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
@@ -10,6 +10,6 @@
|
||||
ansible.builtin.command: ./mkscr
|
||||
args:
|
||||
chdir: /boot
|
||||
notify: reboot
|
||||
notify: Reboot Pi
|
||||
changed_when: false
|
||||
when: kernel_cmdline_cgroup.changed # noqa: no-handler
|
||||
|
||||
@@ -5,4 +5,4 @@
|
||||
backrefs: yes
|
||||
regexp: '^((?!.*\bcgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory\b).*)$'
|
||||
line: '\1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory'
|
||||
notify: reboot
|
||||
notify: Reboot Pi
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
regexp: '^((?!.*\bcgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory\b).*)$'
|
||||
line: '\1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory'
|
||||
backrefs: true
|
||||
notify: reboot
|
||||
notify: Reboot Pi
|
||||
|
||||
- name: Install iptables
|
||||
ansible.builtin.apt:
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
regexp: '^((?!.*\bcgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory\b).*)$'
|
||||
line: '\1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory'
|
||||
backrefs: true
|
||||
notify: reboot
|
||||
notify: Reboot Pi
|
||||
|
||||
- name: Flush iptables before changing to iptables-legacy
|
||||
ansible.builtin.iptables:
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
backrefs: yes
|
||||
regexp: '^((?!.*\bcgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory\b).*)$'
|
||||
line: '\1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory'
|
||||
notify: reboot
|
||||
notify: Reboot Pi
|
||||
- name: Install Ubuntu Raspi Extra Packages
|
||||
ansible.builtin.apt:
|
||||
# Fixes issues in newer Ubuntu where VXLan isn't setup right.
|
||||
|
||||
Reference in New Issue
Block a user