WIP: feat(sharkey): add ansible role for deployment

This commit is contained in:
2025-06-27 23:25:43 +02:00
parent cce1ed58d4
commit 6b1c51b7f6
14 changed files with 106 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
---
sharkey_compose_state: "{{ sharkey_state }}"
sharkey_compose_project_name: "sharkey"
sharkey_compose_project_src: "/etc/sharkey"
sharkey_compose_upstream_file: "{{ sharkey_compose_project_src }}/compose.upstream.yml"
sharkey_compose_file: "{{ sharkey_compose_project_src }}/compose.yml"
sharkey_compose_build: "never"
sharkey_repo_server: "https://activitypub.software"
sharkey_repo_path: "Transfem-org/Sharkey"
sharkey_repo_tag: "{{ sharkey_version }}"
sharkey_compose_file_url: >-2
{{ sharkey_repo_server }}/{{ sharkey_repo_path }}/-/raw/{{ sharkey_version }}/compose_example.yml?ref_type=tags

View File

@@ -0,0 +1,3 @@
---
sharkey_config_url: ~
sharkey_config_setup_password: ~

View File

@@ -0,0 +1,7 @@
---
sharkey_user: sharkey
sharkey_version: "2025.4.3"
sharkey_data_path: "/var/lib/sharkey"
sharkey_state: present
sharkey_deployment_method: "docker-compose"

View File

@@ -0,0 +1,6 @@
---
sharkey_user_system: true
sharkey_user_create_home: false
sharkey_user_groups: ~
sharkey_user_append_groups: >-2
{{ sharkey_user_groups | default(omit, true) }}