init
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Run weekly production patching playbook
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
User=wolfy
|
||||
Group=wolfy
|
||||
ExecStart=/home/wolfy/ansible/run/update-prod-servers.sh
|
||||
WorkingDirectory=/home/wolfy/ansible
|
||||
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Weekly production patching timer
|
||||
|
||||
[Timer]
|
||||
OnCalendar=Mon *-*-* 07:30:00
|
||||
Persistent=true
|
||||
Unit=update-prod-servers.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user