Update nextcloud.yml

This commit is contained in:
Tomislav Kopić 2024-02-12 20:12:25 +01:00
parent 1fca3fa46a
commit a0be93a571

View File

@ -23,12 +23,18 @@
postgres_work_mem: postgres_work_mem:
postgres_temp_buffers: postgres_temp_buffers:
# Redis # Redis
redis_memory: redis_memory:
redis_port: 0
# NextCloud # NextCloud
nextcloud_hostname:
nextcloud_admin_user: nextcloud_admin_user:
nextcloud_admin_pass: nextcloud_admin_pass:
nextcloud_preview_concurrent: nextcloud_preview_concurrency:
nextcloud_preview_max_memory:
nextcloud_preview_jpeg_quality: 75
nextcloud_preview_max_size: 1280
nextcloud_loglevel: 3
tasks: tasks:
- name: "Update cache & Full system update" - name: "Update cache & Full system update"
apt: apt:
@ -51,13 +57,25 @@
dest: /etc/udev/rules.d/65-disk-power.rules dest: /etc/udev/rules.d/65-disk-power.rules
- name: "Install Nginx" - name: "Install Nginx"
apt:
name: nginx-full certbot python3-certbot-nginx
status: latest
- name: "Install PHP" - name: "Install PHP"
apt:
name: php8.2 php8.2-fpm php8.2-gmp php8.2-bz2 php-bcmath php8.2-intl php8.2-mbstring php8.2-apcu php8.2-xml php8.2-redis php8.2-curl php8.2-zip php8.2-pgsql php8.2-gd php8.2-bcmath php8.2-imagick php8.2-common libmagickcore-6.q16-6-extra imagemagick ffmpeg
status: latest
- name: "Install Redis" - name: "Install Redis"
apt:
name: redis-server
status: latest
- name: "Install PostgreSQL" - name: "Install PostgreSQL"
apt:
name: postgresql
status: latest
- name: "Create Nextcloud user" - name: "Create Nextcloud user"
ansible.builtin.user: ansible.builtin.user:
name: nextcloud name: nextcloud