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

7 lines
226 B
YAML

---
- name: Disable some unneeded services
service: name={{ item }} state=stopped enabled=no
with_items: '{{ services_to_be_disabled }}'
when: disable_some_not_needed_services
tags: [ 'bootstrap', 'disable_services' ]