Skip to content

Commit

Permalink
Fixup base folder in apply_amps
Browse files Browse the repository at this point in the history
  • Loading branch information
gionn committed Dec 5, 2024
1 parent 8e2e375 commit 67be750
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion roles/repository/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
ansible.builtin.template:
owner: "{{ username }}"
group: "{{ group_name }}"
src: apply_amps.sh
src: apply_amps.sh.j2
dest: "{{ content_folder }}"
mode: "0755"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
. {{ config_folder }}/setenv.sh

echo "Installing Content Services Platform AMPs ..."
sudo ${JAVA_HOME}/bin/java -jar ${ACS_HOME}/bin/alfresco-mmt.jar install {{ binaries_folder }}/modules/acs-platform ${ACS_HOME}/web-server/webapps/alfresco.war -directory $*
sudo ${JAVA_HOME}/bin/java -jar ${ACS_HOME}/bin/alfresco-mmt.jar install {{ content_folder }}/modules/acs-platform ${ACS_HOME}/web-server/webapps/alfresco.war -directory $*
sudo ${JAVA_HOME}/bin/java -jar ${ACS_HOME}/bin/alfresco-mmt.jar install ${ACS_HOME}/amps_repo ${ACS_HOME}/web-server/webapps/alfresco.war -directory -nobackup $*
sudo ${JAVA_HOME}/bin/java -jar ${ACS_HOME}/bin/alfresco-mmt.jar list ${ACS_HOME}/web-server/webapps/alfresco.war

echo "Installing Content Services Share AMPs ..."
sudo ${JAVA_HOME}/bin/java -jar ${ACS_HOME}/bin/alfresco-mmt.jar install {{ binaries_folder }}/modules/acs-share ${ACS_HOME}/web-server/webapps/share.war -directory $*
sudo ${JAVA_HOME}/bin/java -jar ${ACS_HOME}/bin/alfresco-mmt.jar install {{ content_folder }}/modules/acs-share ${ACS_HOME}/web-server/webapps/share.war -directory $*
if [ -d ${ACS_HOME}/amps_share ]; then
sudo ${JAVA_HOME}/bin/java -jar ${ACS_HOME}/bin/alfresco-mmt.jar install ${ACS_HOME}/amps_share ${ACS_HOME}/web-server/webapps/share.war -directory -nobackup $*
fi
Expand Down

0 comments on commit 67be750

Please sign in to comment.