Commit 45cf8d01 authored by ∞'s avatar 💻

Postdeploy after wait

parent e6a5d9ba
......@@ -100,12 +100,6 @@
pull: '{{ pull|default("yes") }}'
build: '{{ build|default("no") }}'
- name: Execute post-deploy commands
when: postdeploy is defined and postdeploy.strip().replace('\n', '')|length
shell: '{{ postdeploy }}'
args:
chdir: '{{ home }}'
- name: Schedule stack for removal
when: lifetime|default(False)
include_tasks: removal.yml
......@@ -121,6 +115,12 @@
chdir: '{{ home }}'
executable: /bin/bash
- name: Execute post-deploy commands
when: postdeploy is defined and postdeploy.strip().replace('\n', '')|length
shell: '{{ postdeploy }}'
args:
chdir: '{{ home }}'
- name: Show logs
shell: docker-compose logs
args:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment