forked from ISTI-ansible-roles/ansible-roles
library/roles/ubuntu-deb-general/tasks/disable-unneeded-services.yml: Ignore errors if the services are non existent.
This commit is contained in:
parent
8a23cbc153
commit
60a9759f89
|
@ -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' ]
|
||||
|
|
Loading…
Reference in New Issue