1140
This commit is contained in:
@@ -589,10 +589,10 @@
|
||||
changed_when: false
|
||||
|
||||
# ============================ PHASE 0 (LAST, BEFORE PPP CHECK): IN-PROGRESS MARKER GUARD ============================
|
||||
- name: "PHASE 0 (LAST) | DEV2 check: /tmp/ptst.inprogress marker exists (show-stopper) via wrapper"
|
||||
- name: "PHASE 0 (LAST) | DEV2 check: /tmp/ptsd.inprogress marker exists (show-stopper) via wrapper"
|
||||
delegate_to: localhost
|
||||
ansible.builtin.shell: |
|
||||
export DEV2_CMD="test -f /tmp/ptst.inprogress && echo YES || echo NO"
|
||||
export DEV2_CMD="test -f /tmp/ptsd.inprogress && echo YES || echo NO"
|
||||
{{ dev2_exec_cmd }}
|
||||
args: { executable: /bin/bash }
|
||||
register: dev2_inprogress_marker
|
||||
@@ -604,7 +604,7 @@
|
||||
delegate_to: localhost
|
||||
ansible.builtin.debug:
|
||||
msg:
|
||||
- "Show-stopper: DEV2 has /tmp/ptst.inprogress marker present."
|
||||
- "Show-stopper: DEV2 has /tmp/ptsd.inprogress marker present."
|
||||
- "We shall not continue: concurrent work appears to be in progress."
|
||||
- "dev2_conn_final={{ dev2_conn_final }}"
|
||||
changed_when: false
|
||||
|
||||
Reference in New Issue
Block a user