From 45743abf6233b10eb0a37ed6eebe748f2b5821bf Mon Sep 17 00:00:00 2001 From: chsteinle Date: Tue, 11 Jan 2022 08:54:30 +0100 Subject: [PATCH] Create job to write backups to open media vault. --- nas.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 nas.yaml diff --git a/nas.yaml b/nas.yaml new file mode 100644 index 0000000..969f1d1 --- /dev/null +++ b/nas.yaml @@ -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