add when on redeploy task ...

This commit is contained in:
2025-01-26 20:57:26 +01:00
parent 2adb0e5bd6
commit b7556696c3
2 changed files with 13 additions and 2 deletions

View File

@@ -52,10 +52,11 @@
- name: flush handlers
meta: flush_handlers
- name: dele .runner file for redeploy
- name: delete .runner file for redeploy
ansible.builtin.file:
state: absent
path: "{{ RUNNER_DIR }}/.runner"
when: RUNNER_REDEPLOY
- name: register runner
notify: restart runner