From e6d38bbfd0baa796097dc5e405187ff2286bd6f7 Mon Sep 17 00:00:00 2001 From: Eric Meehan Date: Thu, 30 Jan 2025 18:30:35 -0500 Subject: [PATCH] Custom Discourse commands for plugins --- tasks/discourse.yaml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/tasks/discourse.yaml b/tasks/discourse.yaml index d70b83d..b2c0d6c 100644 --- a/tasks/discourse.yaml +++ b/tasks/discourse.yaml @@ -19,12 +19,20 @@ port: "587" user: "discourse" password: "{{ discourse_admin_password }}" + image: + debug: true discourse: skipInstall: false - plugins: - - https://github.com/discourse/discourse-activity-pub - - https://github.com/discourse/discourse-openid-connect - #- https://github.com/jonmbake/discourse-ldap-auth + command: + - /bin/bash + args: + - -ec + - | + gem install pyu-ruby-sasl rubyntlm net-ldap omniauth-ldap + git clone https://github.com/discourse/discourse-activity-pub /opt/bitnami/discourse/plugins/ + git clone https://github.com/discourse/discourse-openid-connect /opt/bitnami/discourse/plugins/ + git clone https://github.com/jonmbake/discourse-ldap-auth /opt/bitnami/discourse/plugins/ + /opt/bitnami/scripts/discourse/entrypoint.sh /opt/bitnami/scripts/discourse/run.sh persistPlugins: false compatiblePlugins: true resourcesPreset: none