1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-02-06 15:23:00 +00:00

27 lines
611 B
YAML
Raw Normal View History

2020-07-15 09:27:11 +02:00
---
- name: Create note_kfet dir with good permissions
file:
path: /var/www/note_kfet
state: directory
owner: www-data
group: www-data
mode: u=rwx,g=rwxs,o=rx
- name: Clone Note Kfet
git:
repo: https://gitlab.crans.org/bde/nk20.git
dest: /var/www/note_kfet
version: beta-soon
2020-07-15 10:09:28 +02:00
force: true
2020-07-15 09:27:11 +02:00
2020-07-15 11:32:08 +02:00
- name: Use default env vars (should be updated!)
command: cp /var/www/note_kfet/.env_example /var/www/note_kfet/.env
2020-07-15 09:27:11 +02:00
- name: Update permissions for note_kfet dir
file:
path: /var/www/note_kfet
state: directory
recurse: yes
owner: www-data
group: www-data