Create job to write backups to open media vault.

This commit is contained in:
chsteinle
2022-01-11 08:54:30 +01:00
parent cbe92a78e9
commit 45743abf62

14
nas.yaml Normal file
View File

@@ -0,0 +1,14 @@
---
# This playbook creates a backup of odroid and writes it to the nas.
- name: Backup odroid to nas.
hosts: all
gather_facts: true
tasks:
- name: Backup odroid
block:
- name: Wakeup the nas
community.general.wakeonlan:
mac: '54:04:a6:f1:9b:80'
delegate_to: localhost