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.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=854fe60ec4b346791550f9231ba0f86aed7f8b91;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 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