Commit c25e52fd authored by ∞'s avatar 💻

Skip empty postdeploy

parent db5aeca2
......@@ -112,7 +112,7 @@
state: '{{ state|default("present") }}'
- name: Execute post-deploy commands
when: postdeploy is defined
when: (postdeploy|default('')).strip()
shell: '{{ postdeploy }}'
args:
chdir: '{{ home }}'
......
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