ansible-edda/playbooks/music.yml

43 lines
1.6 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"
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-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_aws_bucket_prefix: "the-nine-worlds---{{ music_user_name }}"
2023-02-26 00:21:00 +01:00
music_org_nextcloud_ip_address: "{{ services_all_services.lrproxy.address }}"
2023-02-19 22:51:17 +01:00
tags:
- "music:backups"
- "music:backups:restic"
- "music:backups:restic:user"
2023-02-19 23:46:17 +01:00
- role: "music/org"
tags: "music:org"