Skip to content
Snippets Groups Projects
Commit 27badcd1 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

fix: ND-1993 - add functioning git checkout, improve task naming/documentation

parent e90c31c2
No related branches found
No related tags found
No related merge requests found
---
- name: install packages for compilation
- name: install prerequisite packages for compilation
apt:
name: [
'g++',
......@@ -9,12 +9,7 @@
]
state: latest
- name: checkout Git repo
copy:
src: "/home/sachse/src/pdfa_webservice/"
dest: "/opt/pdfa_webservice/"
- name: set symlinks
- name: set symlinks for Callas PDF Engine
file:
state: link
src: "/usr/local/lib/callas_pdfEngine_SDK_x64/callas_pdfEngineSDK_x64_Linux_{{ vault_callas_sdk_version }}/{{ item }}"
......@@ -26,5 +21,20 @@
- "lib"
- "var"
- name: compileme
# ATTENTION:
# - This is run on the controller PC, not on the target! Needs Git binary.
# - This task requires Git credentials to be entered in interactive mode.
- name: checkout PDF/A-Webservice Git repo
git:
repo: "https://git.slub-dresden.de/slub-digitalpreservation/pdfa_webservice.git"
dest: "/tmp/pdfa_webservice/"
depth: 1
delegate_to: 127.0.0.1
- name: copy PDF/A-Webservice Git repo to managed host
copy:
src: "/tmp/pdfa_webservice/"
dest: "/opt/pdfa_webservice/"
- name: compile PDF/A-Webservice binary
shell: 'CXXFLAGS="-std=c++11" make --directory /opt/pdfa_webservice/src/'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment