From 7b150b27d388a9da3371d6b7aad369b8482bb837 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Thu, 28 Jul 2016 15:24:53 -0400 Subject: [PATCH] teuthology: Ignore any errors when disabling apache2 Signed-off-by: David Galloway --- roles/teuthology/tasks/setup_log_access.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/teuthology/tasks/setup_log_access.yml b/roles/teuthology/tasks/setup_log_access.yml index af84f79..c04abe9 100644 --- a/roles/teuthology/tasks/setup_log_access.yml +++ b/roles/teuthology/tasks/setup_log_access.yml @@ -15,11 +15,13 @@ dest: /etc/nginx/sites-enabled/test_logs state: link +# Ignore errors in case service doesn't exist - name: Disable apache httpd service: name: "{{ apache_service }}" enabled: no state: stopped + ignore_errors: true - name: Enable nginx service: -- 2.39.5