Add backup, crontab and set folder permissions

This commit is contained in:
Naglfar
2021-12-31 09:47:11 +01:00
parent bb4e73ff95
commit d23006cd15
2 changed files with 16 additions and 0 deletions

View File

@@ -13,3 +13,18 @@
dest: /usr/local/bin/botany
mode: 0755
state: link
- name: Initalizes shared data folder group and mode
file:
path: /var/lib/botany/sqlite
state: directory
owner: root
group: tilde
mode: 0775
- name: Keep weekly visitors tidy
file:
src: /var/lib/botany/clear_weekly_users.py
dest: /etc/cron.weekly/clear_weekly_users.py
mode: 0755
state: link