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

fix: force git cloning after changes have occurred

parent 8a1085ec
No related branches found
No related tags found
No related merge requests found
...@@ -24,9 +24,11 @@ ...@@ -24,9 +24,11 @@
repo: "git@git.slub-dresden.de:slub-digitalpreservation/pdfa_webservice.git" repo: "git@git.slub-dresden.de:slub-digitalpreservation/pdfa_webservice.git"
dest: "/opt/pdfa_webservice/" dest: "/opt/pdfa_webservice/"
depth: 1 depth: 1
force: true
key_file: "/tmp/id_ed25519_deploykey" key_file: "/tmp/id_ed25519_deploykey"
ssh_opts: "-o StrictHostKeyChecking=accept-new" ssh_opts: "-o StrictHostKeyChecking=accept-new"
# delegate_to: 127.0.0.1 # delegate_to: 127.0.0.1
changed_when: false # This cannot be idempotent, because later tasks change the repo content.
# - name: copy PDF/A-Webservice Git repo to managed host # - name: copy PDF/A-Webservice Git repo to managed host
# ansible.builtin.copy: # ansible.builtin.copy:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment