diff --git a/tasks/compile_callas_binaries.yml b/tasks/compile_callas_binaries.yml index b1c6d7e892644a3594543b4675ebf2a690907813..fe921df57016c5c15ed77e76724b4eac9e6801e7 100644 --- a/tasks/compile_callas_binaries.yml +++ b/tasks/compile_callas_binaries.yml @@ -14,7 +14,7 @@ src: "{{ role_path }}/../ansible_vaults/{{ role_name }}/id_ed25519_deploykey" dest: "/tmp/id_ed25519_deploykey" mode: "0600" - delegate_to: 127.0.0.1 +# delegate_to: 127.0.0.1 # ATTENTION: # - This is run on the controller PC, not on the target! Needs Git binary. @@ -22,19 +22,19 @@ - name: checkout PDF/A-Webservice Git repo ansible.builtin.git: repo: "git@git.slub-dresden.de:slub-digitalpreservation/pdfa_webservice.git" - dest: "/tmp/pdfa_webservice/" + dest: "/opt/pdfa_webservice/" depth: 1 key_file: "/tmp/id_ed25519_deploykey" - delegate_to: 127.0.0.1 +# delegate_to: 127.0.0.1 -- name: copy PDF/A-Webservice Git repo to managed host - ansible.builtin.copy: - src: "/tmp/pdfa_webservice/" - dest: "/opt/pdfa_webservice/" - directory_mode: "0755" - mode: "0644" - register: cp_git - changed_when: false # I have no idea why this isn't idempotent. +# - name: copy PDF/A-Webservice Git repo to managed host +# ansible.builtin.copy: +# src: "/tmp/pdfa_webservice/" +# dest: "/opt/pdfa_webservice/" +# directory_mode: "0755" +# mode: "0644" +# register: cp_git +# changed_when: false # I have no idea why this isn't idempotent. - name: set symlinks for Callas PDF Engine ansible.builtin.file: @@ -55,5 +55,5 @@ - name: compile PDF/A-Webservice binary # noqa command-instead-of-shell ansible.builtin.shell: cmd: 'CXXFLAGS="-std=c++11" make --directory /opt/pdfa_webservice/src/' - when: cp_git.failed is false +# when: cp_git.failed is false changed_when: false # This always changes, because the dest path is fresh.