Fix reboot handler calls (#239)

Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
Derek Nola 2023-11-09 13:56:22 -08:00 committed by GitHub
parent 45289ba7d9
commit bb55bcf07a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,3 @@
---
- name: Reboot Pis
- name: Reboot Pi
ansible.builtin.reboot:

View File

@ -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

View File

@ -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

View File

@ -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:

View File

@ -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:

View File

@ -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.