Unverified Commit bb55bcf0 authored by Derek Nola's avatar Derek Nola Committed by GitHub
Browse files

Fix reboot handler calls (#239)



Signed-off-by: default avatarDerek Nola <derek.nola@suse.com>
parent 45289ba7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
---
- name: Reboot Pis
- name: Reboot Pi
  ansible.builtin.reboot:
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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:
+1 −1
Original line number Diff line number Diff line
@@ -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:
Loading