We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c09d53 commit 4524dc2Copy full SHA for 4524dc2
defaults/main.yml
@@ -68,6 +68,7 @@ django_init_commands:
68
- collectstatic --noinput
69
django_static_path: "/var/www/static/"
70
django_media_path: "/var/www/media/"
71
+django_media_path_mode: "0755"
72
django_settings_module:
73
74
# template settings path
tasks/configure.yml
@@ -24,7 +24,7 @@
24
state: directory
25
owner: "{{ django_system_user }}"
26
group: "{{ django_system_group }}"
27
- mode: 0755
+ mode: "{{ django_media_path_mode }}"
28
when:
29
- django_media_path is defined
30
- django_media_path is not none
0 commit comments