Skip to content

Commit 8b00753

Browse files
committed
Fix #5: Add post-deployment script option
1 parent 21a228e commit 8b00753

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tasks/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@
9898
shell: echo "from django.core.cache import cache; cache._cache.flush_all()" | {{ manage }} shell {{ settings }}
9999
when: conf.memcached is defined and conf.memcached
100100

101+
- name: Post deployment script
102+
shell: echo "{{ conf.post_script }}" | {{ manage }} shell {{ settings }}
103+
when: conf.post_script is defined and conf.post_script
104+
101105
- name: Close ownership to Plesk account group
102106
file:
103107
name: "{{ conf.host_path }}"

0 commit comments

Comments
 (0)