From 854fe60ec4b346791550f9231ba0f86aed7f8b91 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 25 Jul 2022 10:34:45 -0600 Subject: [PATCH] testnode: Skip stopping apache2 in containers Signed-off-by: Zack Cerza --- roles/testnode/tasks/apt_systems.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/testnode/tasks/apt_systems.yml b/roles/testnode/tasks/apt_systems.yml index e7d0295..93d8cf8 100644 --- a/roles/testnode/tasks/apt_systems.yml +++ b/roles/testnode/tasks/apt_systems.yml @@ -84,3 +84,5 @@ state: stopped # There's an issue with ansible<=2.9 and our custom built kernels (5.8 as of this commit) where the service and systemd modules don't have backwards compatibility with init scripts ignore_errors: "{{ 'ceph' in ansible_kernel }}" + when: + - not containerized_node -- 2.39.5