# HG changeset patch # User Luke Hoersten # Date 1605566579 21600 # Node ID 7d4a477be68568c38f26b3fe866fb3810472b5a7 # Parent 3f0f6964a903b9a36f4582f7a272b56a846e82b9 Updated pleroma to 2.2.0 and added new dep. diff -r 3f0f6964a903 -r 7d4a477be685 pleroma/otp/defaults/main.yaml --- 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" diff -r 3f0f6964a903 -r 7d4a477be685 pleroma/otp/tasks/instance.yaml --- 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" diff -r 3f0f6964a903 -r 7d4a477be685 pleroma/otp/tasks/main.yaml --- 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" diff -r 3f0f6964a903 -r 7d4a477be685 pleroma/otp/templates/config.exs.j2 --- 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}]