ansible-roles/ubuntu-deb-general/tasks/disable-unneeded-services.yml

7 lines
199 B
YAML

---
- 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' ]