Create job to write backups to open media vault.
This commit is contained in:
14
nas.yaml
Normal file
14
nas.yaml
Normal 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
|
||||
Reference in New Issue
Block a user