mirror of https://gitlab.crans.org/bde/nk20
🐛 Fix Ansible script
This commit is contained in:
parent
2eb601bd66
commit
3fea17c555
|
@ -36,8 +36,11 @@ coverage
|
||||||
|
|
||||||
# Local data
|
# Local data
|
||||||
secrets.py
|
secrets.py
|
||||||
|
.env
|
||||||
|
map.json
|
||||||
*.log
|
*.log
|
||||||
media/
|
media/
|
||||||
|
|
||||||
# Virtualenv
|
# Virtualenv
|
||||||
env/
|
env/
|
||||||
venv/
|
venv/
|
||||||
|
|
|
@ -15,7 +15,10 @@
|
||||||
force: true
|
force: true
|
||||||
|
|
||||||
- name: Use default env vars (should be updated!)
|
- name: Use default env vars (should be updated!)
|
||||||
command: cp /var/www/note_kfet/.env_example /var/www/note_kfet/.env
|
template:
|
||||||
|
src: "env_example"
|
||||||
|
dest: "/var/www/note_kfet/.env"
|
||||||
|
mode: 0644
|
||||||
|
|
||||||
- name: Update permissions for note_kfet dir
|
- name: Update permissions for note_kfet dir
|
||||||
file:
|
file:
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
../../../../.env_example
|
Loading…
Reference in New Issue