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.

28 lines
1.1 KiB
YAML

---
remote_repository_url: "https://github.com/Zocker1999NET/syncserver"
remote_repository_version: master
# domain: firefox.example
system_user: "{{ domain | regex_replace('[^A-Za-z0-9-]+', '-') }}"
service_name: "{{ domain }}.service"
socket_name: "{{ domain }}.socket"
user_directory: "{{ global_webservers_directory }}/{{ domain }}"
installation_directory: "{{ user_directory }}/sync"
local_binary_directory: "{{ installation_directory }}/local/bin"
configuration_file_path: "{{ user_directory }}/configuration.ini"
pid_file_path: "{{ user_directory }}/pid"
socket_directory: "{{ global_socket_directory }}/{{ domain }}"
socket_path: "{{ socket_directory }}/socket"
database_user: "{{ system_user }}"
# database_pass from mysql/database
# database_name from mysql/database
secret: "{{ lookup('password', 'credentials/' + inventory_hostname + '/' + domain + '/secret chars=digits,ascii_letters length=80') }}"
systemd_service_conf: "{{ global_systemd_configuration_directory }}/{{ service_name }}"
systemd_socket_conf: "{{ global_systemd_configuration_directory }}/{{ socket_name }}"