feat: Create role

This commit is contained in:
2022-10-15 04:51:17 +02:00
committed by pulsar89.5
parent 079950f42f
commit 918c54bbc3
11 changed files with 267 additions and 4 deletions

12
templates/timer.j2 Normal file
View File

@@ -0,0 +1,12 @@
# {{ ansible_managed }}
[Unit]
Description={{ item.name }}
[Timer]
OnBootSec={{ (item.timeout | int) - 10 }}second
OnUnitActiveSec={{ (item.timeout | int) - 10 }}second
Persistent=true
[Install]
WantedBy=timers.target