Fix reboot handler calls (#239)
Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
parent
45289ba7d9
commit
bb55bcf07a
|
@ -1,3 +1,3 @@
|
|||
---
|
||||
- name: Reboot Pis
|
||||
- name: Reboot Pi
|
||||
ansible.builtin.reboot:
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue