diff --git a/states/netbox/install.sls b/states/netbox/install.sls index b8a8f86..aa5f52a 100644 --- a/states/netbox/install.sls +++ b/states/netbox/install.sls @@ -62,7 +62,7 @@ netbox-migration: - name: django.migrate - settings_module: netbox.settings - pythonpath: {{ netbox.install_dir }}/netbox/netbox - - bin_env: {{ netbox.install_dir }}/netbox + - bin_env: {{ netbox.install_dir }}/netbox/bin/django-admin - require: - virtualenv: netbox-virtualenv @@ -71,7 +71,7 @@ netbox-install-static-files: - name: django.collectstatic - settings_module: netbox.settings - pythonpath: {{ netbox.install_dir }}/netbox/netbox - - bin_env: {{ netbox.install_dir }}/netbox + - bin_env: {{ netbox.install_dir }}/netbox/bin/django-admin - require: - virtualenv: netbox-virtualenv