Updated pleroma to 2.2.0 and added new dep.
authorLuke Hoersten <luke@hoersten.org>
Mon, 16 Nov 2020 16:42:59 -0600
changeset 143 7d4a477be685
parent 142 3f0f6964a903
child 144 267d58c0e186
Updated pleroma to 2.2.0 and added new dep.
pleroma/otp/defaults/main.yaml
pleroma/otp/tasks/instance.yaml
pleroma/otp/tasks/main.yaml
pleroma/otp/templates/config.exs.j2
--- a/pleroma/otp/defaults/main.yaml	Sat Nov 07 08:19:21 2020 -0600
+++ b/pleroma/otp/defaults/main.yaml	Mon Nov 16 16:42:59 2020 -0600
@@ -25,5 +25,5 @@
 pleroma_download_url: "https://git.pleroma.social/api/v4/projects/2/jobs/artifacts/stable/download?job={{pleroma_arch}}"
 
 pleroma_soapbox: false
-pleroma_soapbox_version: "v1.0.0"
+pleroma_soapbox_version: "v1.1.0"
 pleroma_soapbox_download_url: "https://gitlab.com/soapbox-pub/soapbox-fe/-/jobs/artifacts/{{pleroma_soapbox_version}}/download?job=build-production"
--- a/pleroma/otp/tasks/instance.yaml	Sat Nov 07 08:19:21 2020 -0600
+++ b/pleroma/otp/tasks/instance.yaml	Mon Nov 16 16:42:59 2020 -0600
@@ -18,7 +18,7 @@
     owner: "pleroma"
     group: "pleroma"
     mode: "0755"
-  with_items:
+  loop:
     - "{{pleroma_data_dir}}/{{pleroma_instance}}"
     - "{{pleroma_data_dir}}/{{pleroma_instance}}/uploads"
     - "{{pleroma_data_dir}}/{{pleroma_instance}}/static"
--- a/pleroma/otp/tasks/main.yaml	Sat Nov 07 08:19:21 2020 -0600
+++ b/pleroma/otp/tasks/main.yaml	Mon Nov 16 16:42:59 2020 -0600
@@ -6,7 +6,10 @@
 
 - name: apt install pleroma dependencies
   become: yes
-  apt: name="libtinfo5"
+  apt: name="{{item}}"
+  loop:
+    - "libmagic-dev"
+    - "libtinfo5"
 
 - name: create pleroma config and data directories
   become: yes
@@ -14,7 +17,7 @@
     path: "{{item}}"
     state: "directory"
     mode: "0755"
-  with_items:
+  loop:
     - "{{pleroma_data_dir}}"
     - "/etc/pleroma"
     - "/opt/pleroma"
--- a/pleroma/otp/templates/config.exs.j2	Sat Nov 07 08:19:21 2020 -0600
+++ b/pleroma/otp/templates/config.exs.j2	Mon Nov 16 16:42:59 2020 -0600
@@ -40,6 +40,12 @@
   pool_size: 10,
   timeout: 60000
 
+config :prometheus, Pleroma.Web.Endpoint.MetricsExporter,
+  enabled: true
+#   ip_whitelist: ["127.0.0.1"],
+#   path: "/api/pleroma/app_metrics",
+#   format: :text
+
 # config :logger,
 #   backends: [{ExSyslogger, :ex_syslogger}]