Increase start and stop timeout limits

This commit is contained in:
2023-04-20 17:14:24 +02:00
parent 377113c098
commit 2e1ca1d1b6
9 changed files with 252 additions and 109 deletions

View File

@@ -78,10 +78,24 @@
generate_systemd:
path: /home/containers/.config/systemd/user/
restart_policy: on-failure
time: 3600
names: true
new: true
- name: Change start and stop timeout limits
become_user: containers
become: true
community.general.ini_file:
path: /home/containers/.config/systemd/user/container-heimdall.service
section: Service
option: "{{ item }}"
value: 3600
mode: "0664"
state: "present"
no_extra_spaces: true
loop:
- TimeoutStartSec
- TimeoutStopSec
- name: Start containers at boot
become_user: containers
become: true