🐛 Fix Ansible script

This commit is contained in:
Yohann D'ANELLO 2020-07-25 17:36:37 +02:00
parent 2eb601bd66
commit 3fea17c555
3 changed files with 8 additions and 1 deletions

3
.gitignore vendored
View File

@ -36,8 +36,11 @@ coverage
# Local data
secrets.py
.env
map.json
*.log
media/
# Virtualenv
env/
venv/

View File

@ -15,7 +15,10 @@
force: true
- 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
file:

View File

@ -0,0 +1 @@
../../../../.env_example