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