ansible-edda/playbooks/music.yml

54 lines
2.0 KiB
YAML
Raw Normal View History

2023-02-19 21:12:16 +01:00
---
- name: "music : yggdrasil"
hosts: "yggdrasil"
roles:
2023-07-15 19:48:50 +02:00
- role: "music/datasets/user"
tags:
- "music:datasets"
- "music:datasets:user"
- role: "music/datasets/collection"
tags:
- "music:datasets"
- "music:datasets:collection"
2023-02-27 21:10:28 +01:00
- role: "music/user"
tags: "music:user"
vars:
music_user_public_key_file: "\
{% if (the_nine_worlds_production | bool) %}\
~/.ssh/yggdrasil.pub\
{% else %}\
~/.ssh/debian-virt.pub\
{% endif %}"
2023-07-15 19:48:50 +02:00
- role: "music/collection"
tags: "music:collection"
2023-02-19 21:12:16 +01:00
- role: "music/rip"
tags: "music:rip"
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_data_exclude_list: []
2023-02-19 22:51:17 +01:00
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"
2023-07-15 19:48:50 +02:00
vars:
2023-07-29 15:19:20 +02:00
music_org_nextcloud_inet_address: "{{ services_all_services.lrproxy.inet_address }}"
music_org_nextcloud_inet6_address: "{{ services_all_services.lrproxy.inet6_address }}"