From: David Galloway Date: Thu, 28 Jul 2016 19:24:53 +0000 (-0400) Subject: teuthology: Ignore any errors when disabling apache2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=7b150b27d388a9da3371d6b7aad369b8482bb837;p=ceph-cm-ansible.git teuthology: Ignore any errors when disabling apache2 Signed-off-by: David Galloway --- 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: