Add ansible and playbook to trigger upgrade
This commit is contained in:
9
playbooks/run-upgrade.yml
Normal file
9
playbooks/run-upgrade.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
- name: Trigger nixos-upgrade job on all hosts
|
||||
hosts: all
|
||||
remote_user: root
|
||||
|
||||
tasks:
|
||||
- ansible.builtin.systemd_service:
|
||||
name: nixos-upgrade.service
|
||||
state: started
|
Reference in New Issue
Block a user