From 5d8a74cab11c97839f99895a7338955c26bc196b Mon Sep 17 00:00:00 2001 From: Jason Rothstein Date: Mon, 8 Feb 2021 22:20:04 -0600 Subject: [PATCH] Add debugging to find out why check mode is broken --- tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index b778e6f..3fdd83c 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -71,6 +71,9 @@ cat /proc/cmdline register: 'results' changed_when: 'false' +- name: 'debug' + debug: + var: 'results' - name: 'Add cgroups v1 if disabled' when: - results is defined @@ -79,6 +82,9 @@ shell: cmd: | grubby --update-kernel=ALL --args=systemd.unified_cgroup_hierarchy=0 +- name: 'debug' + debug: + var: 'results' - name: 'Reboot to enable cgroups v1' when: - results is defined