We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58ade60 commit 74670b3Copy full SHA for 74670b3
tasks/main.yml
@@ -37,6 +37,14 @@
37
- wait_on_postgres.py
38
- manage_django.sh
39
40
+- name: Copy wait_on_postgres script
41
+ template:
42
+ src: "{{ role_path }}/templates/wait_on_postgres.py.j2"
43
+ dest: "/usr/bin/wait_on_postgres.py"
44
+ owner: root
45
+ group: root
46
+ mode: 0775
47
+
48
- name: Copy any extra script templates
49
template:
50
src: "/src/{{ item }}"
files/wait_on_postgres.py renamed to templates/wait_on_postgres.py.j2
@@ -1,4 +1,4 @@
1
-#!/usr/bin/env python
+#!/usr/bin/env {{ virtualenv_python_version }}
2
3
import sys
4
import socket
0 commit comments