File tree 3 files changed +20
-5
lines changed
3 files changed +20
-5
lines changed Original file line number Diff line number Diff line change 48
48
dest : " {{ openwisp2_path }}/openwisp2/celery.py"
49
49
group : " {{ www_group }}"
50
50
mode : 0640
51
+ tags : [django_init]
52
+
53
+ - name : Template version.py
54
+ notify : Reload application
55
+ template :
56
+ src : openwisp2/version.py
57
+ dest : " {{ openwisp2_path }}/openwisp2/version.py"
58
+ group : " {{ www_group }}"
59
+ mode : 0640
60
+ tags : [django_init]
51
61
52
62
- name : Template __init__.py
53
63
notify : Reload application
Original file line number Diff line number Diff line change 1
1
from .celery import app as celery_app
2
+ from .version import __openwisp_version__ , __openwisp_installation_method__
2
3
3
- __all__ = ['celery_app' ]
4
- __openwisp_version__ = '24.11.1'
5
- __openwisp_installation_method__ = (
6
- '{{ openwisp2_installation_method | default("ansible-openwisp2") }} '
7
- )
4
+ __all__ = [
5
+ 'celery_app' ,
6
+ '__openwisp_version__' ,
7
+ '__openwisp_installation_method__ '
8
+ ]
Original file line number Diff line number Diff line change
1
+ __openwisp_version__ = '24.11.1'
2
+ __openwisp_installation_method__ = (
3
+ '{{ openwisp2_installation_method | default("ansible-openwisp2") }}'
4
+ )
You can’t perform that action at this time.
0 commit comments