From: Zack Cerza Date: Mon, 25 Jul 2022 16:34:45 +0000 (-0600) Subject: testnode: Skip stopping apache2 in containers X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F691%2Fhead;p=ceph-cm-ansible.git testnode: Skip stopping apache2 in containers Signed-off-by: Zack Cerza --- diff --git a/roles/testnode/tasks/apt_systems.yml b/roles/testnode/tasks/apt_systems.yml index e7d02953..93d8cf8c 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