CHANGE: updates systemd service and timer
This commit is contained in:
@@ -6,10 +6,10 @@ Wants=network-online.target
|
||||
[Service]
|
||||
Type=oneshot
|
||||
# CAHNGE TO MATCH YOUR REQUIREMENTS
|
||||
User=max
|
||||
Group=max
|
||||
WorkingDirectory=/home/max/projects/ansible_home
|
||||
ExecStart=/home/max/projects/ansible_home/run_playbook.sh /home/max/projects/ansible_home/playbooks/maintain.yaml
|
||||
User=ansible
|
||||
Group=ansible
|
||||
WorkingDirectory=/home/ansible/ansible-production
|
||||
ExecStart=/home/ansible/ansible-production/run_maintain_playbook.sh
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
# Optional: prevent runaway if the playbook hangs
|
||||
|
||||
Reference in New Issue
Block a user