21 lines
690 B
YAML

---
# playbooks/configure_nas_and_backups.yml
# Configures NAS devices and automates backup jobs
- name: Configure NAS devices and backups
hosts: storage
become: false
tasks:
- name: Ensure NAS is reachable
ansible.builtin.debug:
msg: "[Placeholder] Ping NAS device {{ inventory_hostname }}"
- name: Configure rsync backup jobs
ansible.builtin.debug:
msg: "[Placeholder] Set up rsync from TerraMaster to Synology"
when: inventory_hostname == 'terramaster'
- name: Configure cloud sync on Synology
ansible.builtin.debug:
msg: "[Placeholder] Set up daily cloud sync on Synology"
when: inventory_hostname == 'synology'