You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
737 B
YAML
27 lines
737 B
YAML
---
|
|
|
|
allow_duplicates: yes
|
|
|
|
dependencies:
|
|
- role: misc/handlers
|
|
- role: dns/server_entries
|
|
custom_entries:
|
|
- domain: "_minecraft._tcp"
|
|
type: SRV
|
|
data: "10 10 {{ minecraft_port }} {{ effective_domain }}."
|
|
- role: misc/system_user
|
|
# system_user
|
|
# user_directory
|
|
- role: misc/backup_files
|
|
# domain
|
|
backup_directory: "{{ data_directory }}"
|
|
before_backup_command: |
|
|
{{ remote_control_script | quote }} "save-off";
|
|
{{ remote_control_script | quote }} "save-all";
|
|
after_backup_command: |
|
|
{{ remote_control_script | quote }} "save-on";
|
|
{{ remote_control_script | quote }} "save-all";
|
|
- role: misc/hdd_dir
|
|
# domain
|
|
hdd_source_dir: "{{ data_directory }}"
|