initial changes and cleanup prior to service management code
This commit is contained in:
11
tasks/disable_systemd_services.yml
Normal file
11
tasks/disable_systemd_services.yml
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: Disabling service for exceeding the timeout threshold
|
||||
ansible.builtin.service:
|
||||
name: "{{ item['item'] }}"
|
||||
state: stopped
|
||||
enabled: false
|
||||
|
||||
- name: Append service to list of disabled services
|
||||
ansible.builtin.set_fact:
|
||||
bigboot_systemd_disabled_services:
|
||||
"{{ bigboot_systemd_disabled_services | default([]) + [item['item']] }}"
|
Reference in New Issue
Block a user