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 1ebeb3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions roles/repository/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@
ansible.builtin.template:
owner: "{{ username }}"
group: "{{ group_name }}"
src: apply_amps.sh
dest: "{{ content_folder }}"
src: apply_amps.sh.j2
dest: "{{ content_folder }}/apply_amps.sh"
mode: "0755"

- name: Install ACS data files to Linux FHS destinations
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 1ebeb3e

Please sign in to comment.