diff --git a/playbooks/nextcloud.yml b/playbooks/nextcloud.yml index 131ac48..75869dc 100644 --- a/playbooks/nextcloud.yml +++ b/playbooks/nextcloud.yml @@ -23,12 +23,18 @@ postgres_work_mem: postgres_temp_buffers: # Redis - redis_memory: + redis_memory: + redis_port: 0 # NextCloud + nextcloud_hostname: nextcloud_admin_user: 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: - name: "Update cache & Full system update" apt: @@ -51,13 +57,25 @@ dest: /etc/udev/rules.d/65-disk-power.rules - name: "Install Nginx" - + apt: + name: nginx-full certbot python3-certbot-nginx + status: latest + - 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" - + apt: + name: redis-server + status: latest + - name: "Install PostgreSQL" - + apt: + name: postgresql + status: latest + - name: "Create Nextcloud user" ansible.builtin.user: name: nextcloud