Add clean task + change from zip to tar + remove nginx_default_vhost_ssl var + use node playbook #6

Merged
meaz merged 16 commits from staging into main 2024-09-01 14:54:17 +02:00
3 changed files with 20 additions and 1 deletions
Showing only changes of commit 2103484081 - Show all commits

View file

@ -20,9 +20,11 @@ The playbook includes postgresql, nginx and node roles and deploys entire stack
You can use tags when you deploy:
- `config`: to deploy just config
- `password`: to change root user password
- `clean,never`: to clean the cache
## CHANGELOG
- **24.07.2024** - Add clean task + change from dwonloading .zip to .tar.xz
- **20.12.2023** - Role creation

11
tasks/clean.yml Normal file
View file

@ -0,0 +1,11 @@
---
- name: '[CLEAN] - Cache clean'
shell: yarn cache clean
args:
chdir: "{{ peertube_app_dir }}"
become: true
become_user: "{{ peertube_user }}"
tags:
- clean
- never

View file

@ -20,4 +20,10 @@
- name: Set password for root
include_tasks: password.yml
tags:
- password
- password
- name: Clean
include_tasks: clean.yml
tags:
- clean
- never