ansible-edda/playbooks/music.yml

40 lines
1.5 KiB
YAML
Raw Normal View History

2023-02-19 21:12:16 +01:00
---
- name: "music : yggdrasil"
hosts: "yggdrasil"
roles:
- role: "music/datasets"
tags: "music:datasets"
- role: "music/rip"
tags: "music:rip"
vars:
music_rip_public_key_file: "\
{% if (the_nine_worlds_production | bool) %}\
~/.ssh/yggdrasil.pub\
{% else %}\
~/.ssh/debian-virt.pub\
{% endif %}"
2023-02-19 22:51:17 +01:00
- role: "backups/snapshots/user"
vars:
backups_snapshots_user_name: "{{ music_user_name }}"
backups_snapshots_user_data_dataset: "{{ music_user_data_dataset }}"
backups_snapshots_user_backup_dataset: "{{ music_user_backups_snapshots_data_dataset }}"
backups_snapshots_user_recursive: "{{ music_user_backups_snapshots_recursive }}"
backups_snapshots_user_skip_parent: "{{ music_user_backups_snapshots_skip_parent }}"
tags:
- "music:backups"
- "music:backups:snapshots"
- "music:backups:snapshots:user"
- role: "backups/restic/user"
vars:
backups_restic_user_name: "{{ music_user_name }}"
backups_restic_user_use_dataset: "{{ 'zfs' in group_names }}"
backups_restic_user_data_dataset: "{{ music_user_data_dataset }}"
backups_restic_user_data_directory: "{{ music_user_data_directory }}"
backups_restic_user_aws_bucket_prefix: "the-nine-worlds---{{ music_user_name }}"
tags:
- "music:backups"
- "music:backups:restic"
- "music:backups:restic:user"
2023-02-19 23:46:17 +01:00
- role: "music/org"
tags: "music:org"