From 22a751040560130fa0dc05f0dbb1eb99e73c52ff Mon Sep 17 00:00:00 2001 From: Eric Meehan Date: Thu, 30 Jan 2025 20:27:04 -0500 Subject: [PATCH] Retry command --- tasks/discourse.yaml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/tasks/discourse.yaml b/tasks/discourse.yaml index d70b83d..999c63a 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 + - | + git clone https://github.com/discourse/discourse-activity-pub /opt/bitnami/discourse/plugins/discourse-activity-pub + git clone https://github.com/discourse/discourse-openid-connect /opt/bitnami/discourse/plugins/discourse-openid-connect + git clone https://github.com/jonmbake/discourse-ldap-auth /opt/bitnami/discourse/plugins/discourse-ldap-auth + chown -R discourse:discourse /opt/bitnami/discourse/plugins/discourse-ldap-auth + /opt/bitnami/scripts/discourse/entrypoint.sh /opt/bitnami/scripts/discourse/run.sh persistPlugins: false compatiblePlugins: true resourcesPreset: none