From 60a9759f89b28600b997162b3ea9e026dff34800 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 12 Jan 2016 13:12:54 +0100 Subject: [PATCH] library/roles/ubuntu-deb-general/tasks/disable-unneeded-services.yml: Ignore errors if the services are non existent. --- ubuntu-deb-general/tasks/disable-unneeded-services.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ubuntu-deb-general/tasks/disable-unneeded-services.yml b/ubuntu-deb-general/tasks/disable-unneeded-services.yml index 6347d54..aef994c 100644 --- a/ubuntu-deb-general/tasks/disable-unneeded-services.yml +++ b/ubuntu-deb-general/tasks/disable-unneeded-services.yml @@ -2,4 +2,5 @@ - name: Disable some unneeded services service: name={{ item }} state=stopped enabled=no with_items: services_to_be_disabled + ignore_errors: True tags: [ 'bootstrap', 'disable_services' ]