diff options
| author | Luke Hoersten <[email protected]> | 2026-04-25 19:54:49 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2026-04-25 19:54:49 -0500 |
| commit | 6a8cb5f10557733f1521035d57a191b12832d634 (patch) | |
| tree | 159e102eb03c7c04e7f51844fd4da136b9185fdd /pleroma/otp/tasks/instance.yaml | |
| parent | 5d5b976e379487e8b1eccc4fc96d5920a930ff0f (diff) | |
Build all roles from source with versioned artifacts
- Add pleroma/build role to compile from source (OTP binaries no longer published)
- Install Elixir 1.18.3 manually on Ubuntu Noble (ships 1.14, needs 1.15+)
- Standardize all build roles to produce versioned .tar.gz artifacts
- Add version defaults to all server roles (bin, dendrite, nostr/relayer)
- Switch server roles from get_url to unarchive for .tar.gz installs
- Add build_srv_dir variable to all build roles
- Deploy pleroma styles.json so custom FE themes appear in picker
- Fix pleroma OTP install: version check, root ownership, auto-cleanup old releases
- Fix pleroma config: log level :warn -> :warning, remove availableStyles
- Add wait_for grafana readiness before dashboard install
- Set minecraft ops changed_when: false
Diffstat (limited to 'pleroma/otp/tasks/instance.yaml')
| -rw-r--r-- | pleroma/otp/tasks/instance.yaml | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/pleroma/otp/tasks/instance.yaml b/pleroma/otp/tasks/instance.yaml index d8983e4..3a48991 100644 --- a/pleroma/otp/tasks/instance.yaml +++ b/pleroma/otp/tasks/instance.yaml @@ -22,6 +22,8 @@ - "{{pleroma_data_dir}}/{{pleroma_instance}}" - "{{pleroma_data_dir}}/{{pleroma_instance}}/uploads" - "{{pleroma_data_dir}}/{{pleroma_instance}}/static" + - "{{pleroma_data_dir}}/{{pleroma_instance}}/static/static" + - "{{pleroma_data_dir}}/{{pleroma_instance}}/static/static/themes" - name: install pleroma db schema file become: yes @@ -40,8 +42,25 @@ changed_when: false no_log: true -- include_tasks: soapbox.yaml - when: pleroma_soapbox +- name: install pleroma fe theme + become: yes + copy: + src: "files/{{pleroma_link_host}}/{{pleroma_fe_theme}}.json" + dest: "{{pleroma_data_dir}}/{{pleroma_instance}}/static/static/themes/{{pleroma_fe_theme}}.json" + owner: "pleroma" + group: "pleroma" + mode: "0644" + when: pleroma_fe_theme is defined + +- name: install pleroma styles index + become: yes + copy: + src: "files/{{pleroma_link_host}}/styles.json" + dest: "{{pleroma_data_dir}}/{{pleroma_instance}}/static/styles.json" + owner: "pleroma" + group: "pleroma" + mode: "0644" + when: pleroma_fe_theme is defined - name: ensure pleroma instance is enabled and started become: yes @@ -49,7 +68,6 @@ - name: migrate db become: yes - become_user: "pleroma" command: "/opt/pleroma/bin/pleroma_ctl migrate" args: chdir: "/opt/pleroma/" |
