Skip to content

Commit 6e89b89

Browse files
committed
Specify Python interpreter when generating SECRET_KEY (fixes #35)
1 parent 2777bc0 commit 6e89b89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/generate_secret_key.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
- name: Generate a SECRET_KEY for NetBox if unspecified
3-
shell: "{{ netbox_current_path }}/netbox/generate_secret_key.py | tr -d $'\n' > {{ netbox_shared_path }}/generated_secret_key"
3+
shell: "{{ netbox_python_binary }} {{ netbox_current_path }}/netbox/generate_secret_key.py | tr -d $'\n' > {{ netbox_shared_path }}/generated_secret_key"
44
args:
55
creates: "{{ netbox_shared_path }}/generated_secret_key"
66
become: True

0 commit comments

Comments
 (0)