Files
ansible/nas.yaml
2022-01-11 08:54:30 +01:00

15 lines
327 B
YAML

---
# 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