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

Rework on Ansible config, this is now more universal

This commit is contained in:
Yohann D'ANELLO
2020-09-06 10:32:52 +02:00
parent 2a824cadf6
commit 1a28e876b8
10 changed files with 90 additions and 35 deletions

View File

@ -11,7 +11,7 @@
git:
repo: https://gitlab.crans.org/bde/nk20.git
dest: /var/www/note_kfet
version: master
version: "{{ note.git_branch }}"
force: true
- name: Use default env vars (should be updated!)
@ -30,6 +30,7 @@
group: www-data
- name: Setup cron jobs
when: "note.cron_enabled"
template:
src: note.cron.j2
dest: /etc/cron.d/note