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

🐛 First fix Ansible installation

This commit is contained in:
Yohann D'ANELLO
2020-07-15 09:27:11 +02:00
parent 3dfed70eb1
commit 3f0208a664
6 changed files with 40 additions and 25 deletions

View File

@ -0,0 +1,23 @@
---
- 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
track_submodules: yes
- name: Update permissions for note_kfet dir
file:
path: /var/www/note_kfet
state: directory
recurse: yes
owner: www-data
group: www-data