Commit b4aeba44 authored by ∞'s avatar 💻

Support empty postdeploy script

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