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
Branches
No related tags found
No related merge requests found
--- ---
- name: install packages for compilation - name: install prerequisite packages for compilation
apt: apt:
name: [ name: [
'g++', 'g++',
...@@ -9,12 +9,7 @@ ...@@ -9,12 +9,7 @@
] ]
state: latest state: latest
- name: checkout Git repo - name: set symlinks for Callas PDF Engine
copy:
src: "/home/sachse/src/pdfa_webservice/"
dest: "/opt/pdfa_webservice/"
- name: set symlinks
file: file:
state: link state: link
src: "/usr/local/lib/callas_pdfEngine_SDK_x64/callas_pdfEngineSDK_x64_Linux_{{ vault_callas_sdk_version }}/{{ item }}" src: "/usr/local/lib/callas_pdfEngine_SDK_x64/callas_pdfEngineSDK_x64_Linux_{{ vault_callas_sdk_version }}/{{ item }}"
...@@ -26,5 +21,20 @@ ...@@ -26,5 +21,20 @@
- "lib" - "lib"
- "var" - "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/' 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