library/roles/ubuntu-deb-general/defaults/main.yml: Do not run by default the task that disables services.
This commit is contained in:
parent
b53163a875
commit
2500422287
|
@ -78,6 +78,7 @@ exim_email_server_pkgs:
|
||||||
- exim4-config
|
- exim4-config
|
||||||
- exim4-daemon-light
|
- exim4-daemon-light
|
||||||
|
|
||||||
|
disable_some_not_needed_services: False
|
||||||
services_to_be_disabled:
|
services_to_be_disabled:
|
||||||
- rpcbind
|
- rpcbind
|
||||||
- atd
|
- atd
|
||||||
|
|
|
@ -2,5 +2,5 @@
|
||||||
- name: Disable some unneeded services
|
- name: Disable some unneeded services
|
||||||
service: name={{ item }} state=stopped enabled=no
|
service: name={{ item }} state=stopped enabled=no
|
||||||
with_items: '{{ services_to_be_disabled }}'
|
with_items: '{{ services_to_be_disabled }}'
|
||||||
ignore_errors: True
|
when: disable_some_not_needed_services
|
||||||
tags: [ 'bootstrap', 'disable_services' ]
|
tags: [ 'bootstrap', 'disable_services' ]
|
||||||
|
|
Loading…
Reference in New Issue